#include"dao_FLTK.h"

#ifdef __cplusplus
extern "C"{
#endif

/*  Fl_Browser.H */


static DaoNumItem dao_FL_BLINE_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_FL_BLINE_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_FL_BLINE_Delete( void *self )
{
	free( self );
}

static DaoTypeBase FL_BLINE_Typer = 
{ "FL_BLINE", NULL, 
  dao_FL_BLINE_Nums,
  dao_FL_BLINE_Meths, 
  { 0 },
  { 0 },
  Dao_FL_BLINE_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_FL_BLINE_Typer = & FL_BLINE_Typer;

/*  Fl_Chart.H */


static void dao_FL_CHART_ENTRY_GETF_val( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_FL_CHART_ENTRY_SETF_val( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_FL_CHART_ENTRY_GETF_col( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_FL_CHART_ENTRY_SETF_col( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_FL_CHART_ENTRY_GETF_str( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_FL_CHART_ENTRY_SETF_str( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_FL_CHART_ENTRY_GETI_str( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_FL_CHART_ENTRY_SETI_str( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_FL_CHART_ENTRY_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_FL_CHART_ENTRY_FL_CHART_ENTRY( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_FL_CHART_ENTRY_Meths[] = 
{
  { dao_FL_CHART_ENTRY_GETF_val, ".val( self : FL_CHART_ENTRY )=>float" },
  { dao_FL_CHART_ENTRY_SETF_val, ".val=( self : FL_CHART_ENTRY, val : float )" },
  { dao_FL_CHART_ENTRY_GETF_col, ".col( self : FL_CHART_ENTRY )=>int" },
  { dao_FL_CHART_ENTRY_SETF_col, ".col=( self : FL_CHART_ENTRY, col : int )" },
  { dao_FL_CHART_ENTRY_GETF_str, ".str( self : FL_CHART_ENTRY )=>array<int>" },
  { dao_FL_CHART_ENTRY_SETF_str, ".str=( self : FL_CHART_ENTRY, str : array<int> )" },
  { dao_FL_CHART_ENTRY_GETI_str, "[]( self : FL_CHART_ENTRY, i : int )=>int" },
  { dao_FL_CHART_ENTRY_SETI_str, "[]=( self : FL_CHART_ENTRY, i : int, value : int )" },
  { dao_FL_CHART_ENTRY_FL_CHART_ENTRY, "FL_CHART_ENTRY(  )=>FL_CHART_ENTRY" },
  { NULL, NULL }
};
static void Dao_FL_CHART_ENTRY_Delete( void *self )
{
	delete (FL_CHART_ENTRY*) self;
}

static DaoTypeBase FL_CHART_ENTRY_Typer = 
{ "FL_CHART_ENTRY", NULL, 
  dao_FL_CHART_ENTRY_Nums,
  dao_FL_CHART_ENTRY_Meths, 
  { 0 },
  { 0 },
  Dao_FL_CHART_ENTRY_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_FL_CHART_ENTRY_Typer = & FL_CHART_ENTRY_Typer;
static void dao_FL_CHART_ENTRY_GETF_val( DaoContext *_ctx, DValue *_p[], int _n )
{
  FL_CHART_ENTRY *self = (FL_CHART_ENTRY*)DValue_CastCData(_p[0],dao_FL_CHART_ENTRY_Typer);
  DaoContext_PutFloat( _ctx, (float) self->val );
}
static void dao_FL_CHART_ENTRY_SETF_val( DaoContext *_ctx, DValue *_p[], int _n )
{
  FL_CHART_ENTRY *self = (FL_CHART_ENTRY*)DValue_CastCData(_p[0],dao_FL_CHART_ENTRY_Typer);
  self->val = (float) _p[1]->v.f;
}
static void dao_FL_CHART_ENTRY_GETF_col( DaoContext *_ctx, DValue *_p[], int _n )
{
  FL_CHART_ENTRY *self = (FL_CHART_ENTRY*)DValue_CastCData(_p[0],dao_FL_CHART_ENTRY_Typer);
  DaoContext_PutInteger( _ctx, (int) self->col );
}
static void dao_FL_CHART_ENTRY_SETF_col( DaoContext *_ctx, DValue *_p[], int _n )
{
  FL_CHART_ENTRY *self = (FL_CHART_ENTRY*)DValue_CastCData(_p[0],dao_FL_CHART_ENTRY_Typer);
  self->col = (unsigned int) _p[1]->v.i;
}
static void dao_FL_CHART_ENTRY_GETF_str( DaoContext *_ctx, DValue *_p[], int _n )
{
  FL_CHART_ENTRY *self = (FL_CHART_ENTRY*)DValue_CastCData(_p[0],dao_FL_CHART_ENTRY_Typer);
  DaoContext_PutBytes( _ctx, (char*) self->str, FL_CHART_LABEL_MAX+1 );
}
static void dao_FL_CHART_ENTRY_SETF_str( DaoContext *_ctx, DValue *_p[], int _n )
{
  FL_CHART_ENTRY *self = (FL_CHART_ENTRY*)DValue_CastCData(_p[0],dao_FL_CHART_ENTRY_Typer);
  int size = DString_Size( _p[1]->v.s );
  if( size > FL_CHART_LABEL_MAX+1 ) size = FL_CHART_LABEL_MAX+1;
  memmove( self->str, DValue_GetMBString( _p[1] ), size );
}
static void dao_FL_CHART_ENTRY_GETI_str( DaoContext *_ctx, DValue *_p[], int _n )
{
  FL_CHART_ENTRY *self = (FL_CHART_ENTRY*)DValue_CastCData(_p[0],dao_FL_CHART_ENTRY_Typer);
  DaoContext_PutInteger( _ctx, (int) self->str[_p[1]->v.i] );
}
static void dao_FL_CHART_ENTRY_SETI_str( DaoContext *_ctx, DValue *_p[], int _n )
{
  FL_CHART_ENTRY *self = (FL_CHART_ENTRY*)DValue_CastCData(_p[0],dao_FL_CHART_ENTRY_Typer);
  if( _p[1]->v.i < 0 || _p[1]->v.i >= FL_CHART_LABEL_MAX+1 ) return;
  self->str[_p[1]->v.i] = _p[2]->v.i;
}
static void dao_FL_CHART_ENTRY_FL_CHART_ENTRY( DaoContext *_ctx, DValue *_p[], int _n )
{
	FL_CHART_ENTRY *self = Dao_FL_CHART_ENTRY_New();
	DaoContext_PutCData( _ctx, self, dao_FL_CHART_ENTRY_Typer );
}

/*  Fl_Widget.H */


static DaoNumItem dao_Fl_Widget_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Widget_Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_activate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_active( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_active_r( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_align( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_align_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_argument( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_argument_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_as_gl_window__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_as_gl_window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_as_group__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_as_group( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_as_window__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_as_window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_box( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_callback_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_changed( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_clear_changed( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_clear_damage( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_clear_flag( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_clear_output( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_clear_visible( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_clear_visible_focus( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_color_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_color2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_color2_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_contains( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_copy_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_damage( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_damage_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_damage_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_damage_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_deactivate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_default_callback( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_deimage( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_deimage_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_deimage_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_do_callback( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_do_callback_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_do_callback_dao_3__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_do_callback_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_draw_box( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_draw_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_draw_box_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_draw_focus( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_draw_focus_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_draw_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_draw_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_draw_label_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_flags( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_h_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_handle__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_hide__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_hide( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_image_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_image_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_inside( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_label_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_label_shortcut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_labelcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_labelcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_labelfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_labelfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_labelsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_labelsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_labeltype( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_labeltype_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_measure_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_output( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_parent( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_parent_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_redraw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_redraw_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_resize__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_selection_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_selection_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_set_changed( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_set_flag( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_set_output( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_set_visible( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_set_visible_focus( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_show__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_show( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_take_focus( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_takesevents( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_test_shortcut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_test_shortcut_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_tooltip( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_tooltip_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_type_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_user_data( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_user_data_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_visible( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_visible_focus_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_visible_focus( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_visible_r( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_w_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_when( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_when_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_x_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_y_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_y( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Widget_Meths[] = 
{
  { dao_Fl_Widget_Fl_Widget, "Fl_Widget( x : int, y : int, w : int, h : int, label : string|null=null )=>Fl_Widget" },
  { dao_Fl_Widget_activate, "activate( self : Fl_Widget )" },
  { dao_Fl_Widget_active, "active( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_active_r, "active_r( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_align, "align( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_align_dao_2, "align( self : Fl_Widget, alignment : int )" },
  { dao_Fl_Widget_argument, "argument( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_argument_dao_2, "argument( self : Fl_Widget, v : int )" },
  { dao_Fl_Widget_as_gl_window, "as_gl_window( self : Fl_Widget )=>Fl_Gl_Window" },
  { dao_Fl_Widget_as_group, "as_group( self : Fl_Widget )=>Fl_Group" },
  { dao_Fl_Widget_as_window, "as_window( self : Fl_Widget )=>Fl_Window" },
  { dao_Fl_Widget_box, "box( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_box_dao_2, "box( self : Fl_Widget, new_box : int )" },
  { dao_Fl_Widget_callback_dao_2, "callback( self : Fl_Widget, cb : any, userdata : any )" },
  { dao_Fl_Widget_changed, "changed( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_clear_changed, "clear_changed( self : Fl_Widget )" },
  { dao_Fl_Widget_clear_damage, "clear_damage( self : Fl_Widget, c : int = 0 )" },
  { dao_Fl_Widget_clear_flag, "clear_flag( self : Fl_Widget, c : int )" },
  { dao_Fl_Widget_clear_output, "clear_output( self : Fl_Widget )" },
  { dao_Fl_Widget_clear_visible, "clear_visible( self : Fl_Widget )" },
  { dao_Fl_Widget_clear_visible_focus, "clear_visible_focus( self : Fl_Widget )" },
  { dao_Fl_Widget_color, "color( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_color_dao_2, "color( self : Fl_Widget, bg : int )" },
  { dao_Fl_Widget_color_dao_3, "color( self : Fl_Widget, bg : int, sel : int )" },
  { dao_Fl_Widget_color2, "color2( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_color2_dao_2, "color2( self : Fl_Widget, a : int )" },
  { dao_Fl_Widget_contains, "contains( self : Fl_Widget, w : Fl_Widget )=>int" },
  { dao_Fl_Widget_copy_label, "copy_label( self : Fl_Widget, new_label : string )" },
  { dao_Fl_Widget_damage, "damage( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_damage_dao_2, "damage( self : Fl_Widget, c : int )" },
  { dao_Fl_Widget_damage_dao_3, "damage( self : Fl_Widget, c : int, x : int, y : int, w : int, h : int )" },
  { dao_Fl_Widget_damage_resize, "damage_resize( self : Fl_Widget, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )=>int" },
  { dao_Fl_Widget_deactivate, "deactivate( self : Fl_Widget )" },
  { dao_Fl_Widget_default_callback, "default_callback( cb : Fl_Widget, d : cdata )" },
  { dao_Fl_Widget_deimage, "deimage( self : Fl_Widget )=>Fl_Image" },
  { dao_Fl_Widget_deimage_dao_3, "deimage( self : Fl_Widget, img : Fl_Image )" },
  { dao_Fl_Widget_deimage_dao_2, "deimage( self : Fl_Widget, img : Fl_Image )" },
  { dao_Fl_Widget_do_callback, "do_callback( self : Fl_Widget )" },
  { dao_Fl_Widget_do_callback_dao_2, "do_callback( self : Fl_Widget, o : Fl_Widget, arg : int )" },
  { dao_Fl_Widget_do_callback_dao_3, "do_callback( self : Fl_Widget, o : Fl_Widget, arg : cdata|null=null )" },
  { dao_Fl_Widget_draw, "draw( self : Fl_Widget )" },
  { dao_Fl_Widget_draw_box, "draw_box( self : Fl_Widget )" },
  { dao_Fl_Widget_draw_box_dao_2, "draw_box( self : Fl_Widget, t : int, c : int )" },
  { dao_Fl_Widget_draw_box_dao_3, "draw_box( self : Fl_Widget, t : int, x : int, y : int, w : int, h : int, c : int )" },
  { dao_Fl_Widget_draw_focus, "draw_focus( self : Fl_Widget )" },
  { dao_Fl_Widget_draw_focus_dao_2, "draw_focus( self : Fl_Widget, t : int, x : int, y : int, w : int, h : int )" },
  { dao_Fl_Widget_draw_label, "draw_label( self : Fl_Widget )" },
  { dao_Fl_Widget_draw_label_dao_2, "draw_label( self : Fl_Widget, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Widget_draw_label_dao_3, "draw_label( self : Fl_Widget, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : int )" },
  { dao_Fl_Widget_flags, "flags( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_h_dao_2, "h( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_h, "h( self : Fl_Widget, v : int )" },
  { dao_Fl_Widget_handle, "handle( self : Fl_Widget, event : int )=>int" },
  { dao_Fl_Widget_hide, "hide( self : Fl_Widget )" },
  { dao_Fl_Widget_image, "image( self : Fl_Widget )=>Fl_Image" },
  { dao_Fl_Widget_image_dao_3, "image( self : Fl_Widget, img : Fl_Image )" },
  { dao_Fl_Widget_image_dao_2, "image( self : Fl_Widget, img : Fl_Image )" },
  { dao_Fl_Widget_inside, "inside( self : Fl_Widget, w : Fl_Widget )=>int" },
  { dao_Fl_Widget_label, "label( self : Fl_Widget )=>string" },
  { dao_Fl_Widget_label_dao_3, "label( self : Fl_Widget, a : int, b : string )" },
  { dao_Fl_Widget_label_dao_2, "label( self : Fl_Widget, text : string )" },
  { dao_Fl_Widget_label_shortcut, "label_shortcut( t : string )=>int" },
  { dao_Fl_Widget_labelcolor, "labelcolor( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_labelcolor_dao_2, "labelcolor( self : Fl_Widget, c : int )" },
  { dao_Fl_Widget_labelfont, "labelfont( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_labelfont_dao_2, "labelfont( self : Fl_Widget, f : int )" },
  { dao_Fl_Widget_labelsize, "labelsize( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_labelsize_dao_2, "labelsize( self : Fl_Widget, pix : int )" },
  { dao_Fl_Widget_labeltype, "labeltype( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_labeltype_dao_2, "labeltype( self : Fl_Widget, a : int )" },
  { dao_Fl_Widget_measure_label, "measure_label( self : Fl_Widget, ww : int, hh : int )" },
  { dao_Fl_Widget_output, "output( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_parent, "parent( self : Fl_Widget )=>Fl_Group" },
  { dao_Fl_Widget_parent_dao_2, "parent( self : Fl_Widget, p : Fl_Group )" },
  { dao_Fl_Widget_position, "position( self : Fl_Widget, X : int, Y : int )" },
  { dao_Fl_Widget_redraw, "redraw( self : Fl_Widget )" },
  { dao_Fl_Widget_redraw_label, "redraw_label( self : Fl_Widget )" },
  { dao_Fl_Widget_resize, "resize( self : Fl_Widget, x : int, y : int, w : int, h : int )" },
  { dao_Fl_Widget_selection_color, "selection_color( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_selection_color_dao_2, "selection_color( self : Fl_Widget, a : int )" },
  { dao_Fl_Widget_set_changed, "set_changed( self : Fl_Widget )" },
  { dao_Fl_Widget_set_flag, "set_flag( self : Fl_Widget, c : int )" },
  { dao_Fl_Widget_set_output, "set_output( self : Fl_Widget )" },
  { dao_Fl_Widget_set_visible, "set_visible( self : Fl_Widget )" },
  { dao_Fl_Widget_set_visible_focus, "set_visible_focus( self : Fl_Widget )" },
  { dao_Fl_Widget_show, "show( self : Fl_Widget )" },
  { dao_Fl_Widget_size, "size( self : Fl_Widget, W : int, H : int )" },
  { dao_Fl_Widget_take_focus, "take_focus( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_takesevents, "takesevents( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_test_shortcut, "test_shortcut( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_test_shortcut_dao_2, "test_shortcut( _cp0 : string )=>int" },
  { dao_Fl_Widget_tooltip, "tooltip( self : Fl_Widget )=>string" },
  { dao_Fl_Widget_tooltip_dao_2, "tooltip( self : Fl_Widget, t : string )" },
  { dao_Fl_Widget_type, "type( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_type_dao_2, "type( self : Fl_Widget, t : int )" },
  { dao_Fl_Widget_user_data, "user_data( self : Fl_Widget )=>cdata" },
  { dao_Fl_Widget_user_data_dao_2, "user_data( self : Fl_Widget, v : cdata )" },
  { dao_Fl_Widget_visible, "visible( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_visible_focus_dao_2, "visible_focus( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_visible_focus, "visible_focus( self : Fl_Widget, v : int )" },
  { dao_Fl_Widget_visible_r, "visible_r( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_w_dao_2, "w( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_w, "w( self : Fl_Widget, v : int )" },
  { dao_Fl_Widget_when, "when( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_when_dao_2, "when( self : Fl_Widget, i : int )" },
  { dao_Fl_Widget_window, "window( self : Fl_Widget )=>Fl_Window" },
  { dao_Fl_Widget_x_dao_2, "x( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_x, "x( self : Fl_Widget, v : int )" },
  { dao_Fl_Widget_y_dao_2, "y( self : Fl_Widget )=>int" },
  { dao_Fl_Widget_y, "y( self : Fl_Widget, v : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Widget_Delete( void *self )
{
	delete (Fl_Widget*) self;
}
static int Dao_Fl_Widget_DelTest( void *self0 )
{
	Fl_Widget *self = (Fl_Widget*) self0;
	return (self->Fl_Widget::parent()==NULL);
}

static DaoTypeBase Fl_Widget_Typer = 
{ "Fl_Widget", NULL, 
  dao_Fl_Widget_Nums,
  dao_Fl_Widget_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Widget_Delete,
  Dao_Fl_Widget_DelTest
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Widget_Typer = & Fl_Widget_Typer;
/* Fl_Widget.H */
static void dao_Fl_Widget_Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* label= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Widget *_self = DaoCxx_Fl_Widget_New( x, y, w, h, label );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_activate( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::activate(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_active( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  unsigned int _active = self->Fl_Widget::active(  );
  DaoContext_PutInteger( _ctx, (int) _active );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_active_r( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int _active_r = self->Fl_Widget::active_r(  );
  DaoContext_PutInteger( _ctx, (int) _active_r );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_align( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Align _align = self->Fl_Widget::align(  );
  DaoContext_PutInteger( _ctx, (int) _align );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_align_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Align alignment= (Fl_Align) _p[1]->v.i;
  self->Fl_Widget::align( alignment );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_argument( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  long _argument = self->Fl_Widget::argument(  );
  DaoContext_PutInteger( _ctx, (int) _argument );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_argument_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  long v= (long) _p[1]->v.i;
  self->Fl_Widget::argument( v );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_as_gl_window__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Gl_Window* _as_gl_window = self->Fl_Widget::as_gl_window(  );
  DaoContext_WrapCData( _ctx, (void*) _as_gl_window, dao_Fl_Gl_Window_Typer );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_as_gl_window( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Widget_as_gl_window__Fl_Widget( _ctx, _p, _n );
    return;
  }
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Gl_Window* _as_gl_window = self->as_gl_window(  );
  DaoContext_WrapCData( _ctx, (void*) _as_gl_window, dao_Fl_Gl_Window_Typer );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_as_group__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Group* _as_group = self->Fl_Widget::as_group(  );
  DaoContext_WrapCData( _ctx, (void*) _as_group, dao_Fl_Group_Typer );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_as_group( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Widget_as_group__Fl_Widget( _ctx, _p, _n );
    return;
  }
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Group* _as_group = self->as_group(  );
  DaoContext_WrapCData( _ctx, (void*) _as_group, dao_Fl_Group_Typer );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_as_window__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Window* _as_window = self->Fl_Widget::as_window(  );
  DaoContext_WrapCData( _ctx, (void*) _as_window, dao_Fl_Window_Typer );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_as_window( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Widget_as_window__Fl_Widget( _ctx, _p, _n );
    return;
  }
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Window* _as_window = self->as_window(  );
  DaoContext_WrapCData( _ctx, (void*) _as_window, dao_Fl_Window_Typer );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_box( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Boxtype _box = self->Fl_Widget::box(  );
  DaoContext_PutInteger( _ctx, (int) _box );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Boxtype new_box= (Fl_Boxtype) _p[1]->v.i;
  self->Fl_Widget::box( new_box );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_callback_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  DaoMethod *_ro = (DaoMethod*) _p[1]->v.p;
  Fl_Callback *cb = Dao_Fl_Callback;
  DValue *_ud = _p[2];
  DaoCallbackData *userdata = DaoCallbackData_New( _ro, *_ud );
  if( userdata == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR_PARAM, "invalid callback" );
	return;
  }
  self->Fl_Widget::callback( cb, userdata );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_changed( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  unsigned int _changed = self->Fl_Widget::changed(  );
  DaoContext_PutInteger( _ctx, (int) _changed );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_clear_changed( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::clear_changed(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_clear_damage( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  uchar c= (uchar) _p[1]->v.i;
  self->Fl_Widget::clear_damage( c );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_clear_flag( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  unsigned int c= (unsigned int) _p[1]->v.i;
  self->DaoWrap_clear_flag( c );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_clear_output( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::clear_output(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_clear_visible( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::clear_visible(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_clear_visible_focus( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::clear_visible_focus(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Color _color = self->Fl_Widget::color(  );
  DaoContext_PutInteger( _ctx, (int) _color );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Color bg= (Fl_Color) _p[1]->v.i;
  self->Fl_Widget::color( bg );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_color_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Color bg= (Fl_Color) _p[1]->v.i;
  Fl_Color sel= (Fl_Color) _p[2]->v.i;
  self->Fl_Widget::color( bg, sel );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_color2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Color _color2 = self->Fl_Widget::color2(  );
  DaoContext_PutInteger( _ctx, (int) _color2 );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_color2_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  unsigned a= (unsigned) _p[1]->v.i;
  self->Fl_Widget::color2( a );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_contains( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int _contains = self->Fl_Widget::contains( w );
  DaoContext_PutInteger( _ctx, (int) _contains );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_copy_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  char* new_label= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Widget::copy_label( new_label );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_damage( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  uchar _damage = self->Fl_Widget::damage(  );
  DaoContext_PutInteger( _ctx, (int) _damage );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_damage_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  uchar c= (uchar) _p[1]->v.i;
  self->Fl_Widget::damage( c );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_damage_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  uchar c= (uchar) _p[1]->v.i;
  int x= (int) _p[2]->v.i;
  int y= (int) _p[3]->v.i;
  int w= (int) _p[4]->v.i;
  int h= (int) _p[5]->v.i;
  self->Fl_Widget::damage( c, x, y, w, h );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_damage_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  int _damage_resize = self->Fl_Widget::damage_resize( _cp0, _cp1, _cp2, _cp3 );
  DaoContext_PutInteger( _ctx, (int) _damage_resize );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_deactivate( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::deactivate(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_default_callback( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* cb= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  void* d= (void*) DValue_GetCData( _p[1] );
  Fl_Widget::default_callback( cb, d );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_deimage( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Image* _deimage = self->Fl_Widget::deimage(  );
  DaoContext_WrapCData( _ctx, (void*) _deimage, dao_Fl_Image_Typer );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_deimage_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Image* img= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Widget::deimage( *img );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_deimage_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Image* img= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Widget::deimage( img );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_do_callback( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::do_callback(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_do_callback_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  long arg= (long) _p[2]->v.i;
  self->Fl_Widget::do_callback( o, arg );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_do_callback_dao_3__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  void* arg= (void*) DValue_GetCData( _p[2] );
  self->Fl_Widget::do_callback( o, arg );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_do_callback_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Widget_do_callback_dao_3__Fl_Widget( _ctx, _p, _n );
    return;
  }
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  void* arg= (void*) DValue_GetCData( _p[2] );
  self->do_callback( o, arg );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->draw(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_draw_box( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->DaoWrap_draw_box(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_draw_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Boxtype t= (Fl_Boxtype) _p[1]->v.i;
  Fl_Color c= (Fl_Color) _p[2]->v.i;
  self->DaoWrap_draw_box( t, c );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_draw_box_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Boxtype t= (Fl_Boxtype) _p[1]->v.i;
  int x= (int) _p[2]->v.i;
  int y= (int) _p[3]->v.i;
  int w= (int) _p[4]->v.i;
  int h= (int) _p[5]->v.i;
  Fl_Color c= (Fl_Color) _p[6]->v.i;
  self->DaoWrap_draw_box( t, x, y, w, h, c );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_draw_focus( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->DaoWrap_draw_focus(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_draw_focus_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Boxtype t= (Fl_Boxtype) _p[1]->v.i;
  int x= (int) _p[2]->v.i;
  int y= (int) _p[3]->v.i;
  int w= (int) _p[4]->v.i;
  int h= (int) _p[5]->v.i;
  self->DaoWrap_draw_focus( t, x, y, w, h );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_draw_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->DaoWrap_draw_label(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_draw_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->DaoWrap_draw_label( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_draw_label_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  Fl_Align _cp4= (Fl_Align) _p[5]->v.i;
  self->Fl_Widget::draw_label( _cp0, _cp1, _cp2, _cp3, _cp4 );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_flags( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  unsigned int _flags = self->DaoWrap_flags(  );
  DaoContext_PutInteger( _ctx, (int) _flags );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_h_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int _h = self->Fl_Widget::h(  );
  DaoContext_PutInteger( _ctx, (int) _h );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int v= (int) _p[1]->v.i;
  self->DaoWrap_h( v );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_handle__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int event= (int) _p[1]->v.i;
  int _handle = self->Fl_Widget::handle( event );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Widget_handle__Fl_Widget( _ctx, _p, _n );
    return;
  }
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int event= (int) _p[1]->v.i;
  int _handle = self->handle( event );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_hide__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::hide(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_hide( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Widget_hide__Fl_Widget( _ctx, _p, _n );
    return;
  }
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->hide(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Image* _image = self->Fl_Widget::image(  );
  DaoContext_WrapCData( _ctx, (void*) _image, dao_Fl_Image_Typer );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_image_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Image* img= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Widget::image( *img );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_image_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Image* img= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Widget::image( img );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_inside( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int _inside = self->Fl_Widget::inside( w );
  DaoContext_PutInteger( _ctx, (int) _inside );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  const char* _label = self->Fl_Widget::label(  );
  DaoContext_PutMBString( _ctx, (char*) _label );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_label_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Labeltype a= (Fl_Labeltype) _p[1]->v.i;
  char* b= (char*) DValue_GetMBString( _p[2] );
  self->Fl_Widget::label( a, b );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  char* text= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Widget::label( text );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_label_shortcut( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* t= (char*) DValue_GetMBString( _p[0] );
  unsigned int _label_shortcut = Fl_Widget::label_shortcut( t );
  DaoContext_PutInteger( _ctx, (int) _label_shortcut );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_labelcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Color _labelcolor = self->Fl_Widget::labelcolor(  );
  DaoContext_PutInteger( _ctx, (int) _labelcolor );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_labelcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  self->Fl_Widget::labelcolor( c );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_labelfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Font _labelfont = self->Fl_Widget::labelfont(  );
  DaoContext_PutInteger( _ctx, (int) _labelfont );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_labelfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Font f= (Fl_Font) _p[1]->v.i;
  self->Fl_Widget::labelfont( f );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_labelsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Fontsize _labelsize = self->Fl_Widget::labelsize(  );
  DaoContext_PutInteger( _ctx, (int) _labelsize );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_labelsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Fontsize pix= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Widget::labelsize( pix );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_labeltype( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Labeltype _labeltype = self->Fl_Widget::labeltype(  );
  DaoContext_PutInteger( _ctx, (int) _labeltype );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_labeltype_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Labeltype a= (Fl_Labeltype) _p[1]->v.i;
  self->Fl_Widget::labeltype( a );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_measure_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int ww= (int) _p[1]->v.i;
  int hh= (int) _p[2]->v.i;
  self->Fl_Widget::measure_label( ww, hh );
  _p[1]->v.i = (int) ww;
  _p[2]->v.i = (int) hh;
}
/* Fl_Widget.H */
static void dao_Fl_Widget_output( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  unsigned int _output = self->Fl_Widget::output(  );
  DaoContext_PutInteger( _ctx, (int) _output );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_parent( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Group* _parent = self->Fl_Widget::parent(  );
  DaoContext_WrapCData( _ctx, (void*) _parent, dao_Fl_Group_Typer );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_parent_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Group* p= (Fl_Group*) DValue_CastCData( _p[1], dao_Fl_Group_Typer );
  self->Fl_Widget::parent( p );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  self->Fl_Widget::position( X, Y );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_redraw( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::redraw(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_redraw_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::redraw_label(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_resize__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  self->Fl_Widget::resize( x, y, w, h );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Widget_resize__Fl_Widget( _ctx, _p, _n );
    return;
  }
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  self->resize( x, y, w, h );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_selection_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Color _selection_color = self->Fl_Widget::selection_color(  );
  DaoContext_PutInteger( _ctx, (int) _selection_color );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_selection_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Color a= (Fl_Color) _p[1]->v.i;
  self->Fl_Widget::selection_color( a );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_set_changed( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::set_changed(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_set_flag( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  unsigned int c= (unsigned int) _p[1]->v.i;
  self->DaoWrap_set_flag( c );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_set_output( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::set_output(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_set_visible( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::set_visible(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_set_visible_focus( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::set_visible_focus(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_show__Fl_Widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->Fl_Widget::show(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_show( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Widget_show__Fl_Widget( _ctx, _p, _n );
    return;
  }
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  self->show(  );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  self->Fl_Widget::size( W, H );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_take_focus( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int _take_focus = self->Fl_Widget::take_focus(  );
  DaoContext_PutInteger( _ctx, (int) _take_focus );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_takesevents( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  unsigned int _takesevents = self->Fl_Widget::takesevents(  );
  DaoContext_PutInteger( _ctx, (int) _takesevents );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_test_shortcut( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int _test_shortcut = self->Fl_Widget::test_shortcut(  );
  DaoContext_PutInteger( _ctx, (int) _test_shortcut );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_test_shortcut_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* _cp0= (char*) DValue_GetMBString( _p[0] );
  int _test_shortcut = Fl_Widget::test_shortcut( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _test_shortcut );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_tooltip( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  const char* _tooltip = self->Fl_Widget::tooltip(  );
  DaoContext_PutMBString( _ctx, (char*) _tooltip );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_tooltip_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  char* t= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Widget::tooltip( t );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  uchar _type = self->Fl_Widget::type(  );
  DaoContext_PutInteger( _ctx, (int) _type );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_type_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  uchar t= (uchar) _p[1]->v.i;
  self->Fl_Widget::type( t );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_user_data( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  void* _user_data = self->Fl_Widget::user_data(  );
  DaoContext_PutCPointer( _ctx, (void*) _user_data, 0 );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_user_data_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  void* v= (void*) DValue_GetCData( _p[1] );
  self->Fl_Widget::user_data( v );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_visible( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  unsigned int _visible = self->Fl_Widget::visible(  );
  DaoContext_PutInteger( _ctx, (int) _visible );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_visible_focus_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  unsigned int _visible_focus = self->Fl_Widget::visible_focus(  );
  DaoContext_PutInteger( _ctx, (int) _visible_focus );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_visible_focus( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int v= (int) _p[1]->v.i;
  self->Fl_Widget::visible_focus( v );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_visible_r( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int _visible_r = self->Fl_Widget::visible_r(  );
  DaoContext_PutInteger( _ctx, (int) _visible_r );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_w_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int _w = self->Fl_Widget::w(  );
  DaoContext_PutInteger( _ctx, (int) _w );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int v= (int) _p[1]->v.i;
  self->DaoWrap_w( v );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_when( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_When _when = self->Fl_Widget::when(  );
  DaoContext_PutInteger( _ctx, (int) _when );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_when_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  uchar i= (uchar) _p[1]->v.i;
  self->Fl_Widget::when( i );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Window* _window = self->Fl_Widget::window(  );
  DaoContext_WrapCData( _ctx, (void*) _window, dao_Fl_Window_Typer );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_x_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int _x = self->Fl_Widget::x(  );
  DaoContext_PutInteger( _ctx, (int) _x );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int v= (int) _p[1]->v.i;
  self->DaoWrap_x( v );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_y_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* self= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int _y = self->Fl_Widget::y(  );
  DaoContext_PutInteger( _ctx, (int) _y );
}
/* Fl_Widget.H */
static void dao_Fl_Widget_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Widget *self = (DaoCxx_Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int v= (int) _p[1]->v.i;
  self->DaoWrap_y( v );
}

/*  Fl_Group.H */


static DaoNumItem dao_Fl_Group_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Group_Fl_Group( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group__ddfdesign_kludge( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_add_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_add_resizable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_as_group__Fl_Group( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_as_group( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_begin( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_child( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_children( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_clip_children_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_clip_children( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_current( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_current_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_draw_child( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_draw_children( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_draw_outside_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_find_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_find( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_focus( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_forms_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_init_sizes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_insert_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_remove_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_resizable_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_resizable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_resizable_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_sizes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Group_update_child( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Group_Meths[] = 
{
  { dao_Fl_Group_Fl_Group, "Fl_Group( _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : string|null=null )=>Fl_Group" },
  { dao_Fl_Group__ddfdesign_kludge, "_ddfdesign_kludge( self : Fl_Group )=>Fl_Widget" },
  { dao_Fl_Group_add, "add( self : Fl_Group, _cp0 : Fl_Widget )" },
  { dao_Fl_Group_add_dao_2, "add( self : Fl_Group, o : Fl_Widget )" },
  { dao_Fl_Group_add_resizable, "add_resizable( self : Fl_Group, o : Fl_Widget )" },
  { dao_Fl_Group_as_group, "as_group( self : Fl_Group )=>Fl_Group" },
  { dao_Fl_Group_begin, "begin( self : Fl_Group )" },
  { dao_Fl_Group_child, "child( self : Fl_Group, n : int )=>Fl_Widget" },
  { dao_Fl_Group_children, "children( self : Fl_Group )=>int" },
  { dao_Fl_Group_clear, "clear( self : Fl_Group )" },
  { dao_Fl_Group_clip_children_dao_2, "clip_children( self : Fl_Group )=>int" },
  { dao_Fl_Group_clip_children, "clip_children( self : Fl_Group, c : int )" },
  { dao_Fl_Group_current, "current(  )=>Fl_Group" },
  { dao_Fl_Group_current_dao_2, "current( g : Fl_Group )" },
  { dao_Fl_Group_draw, "draw( self : Fl_Group )" },
  { dao_Fl_Group_draw_child, "draw_child( self : Fl_Group, widget : Fl_Widget )" },
  { dao_Fl_Group_draw_children, "draw_children( self : Fl_Group )" },
  { dao_Fl_Group_draw_outside_label, "draw_outside_label( self : Fl_Group, widget : Fl_Widget )" },
  { dao_Fl_Group_end, "end( self : Fl_Group )" },
  { dao_Fl_Group_find_dao_2, "find( self : Fl_Group, o : Fl_Widget )=>int" },
  { dao_Fl_Group_find, "find( self : Fl_Group, _cp0 : Fl_Widget )=>int" },
  { dao_Fl_Group_focus, "focus( self : Fl_Group, W : Fl_Widget )" },
  { dao_Fl_Group_forms_end, "forms_end( self : Fl_Group )" },
  { dao_Fl_Group_handle, "handle( self : Fl_Group, _cp0 : int )=>int" },
  { dao_Fl_Group_init_sizes, "init_sizes( self : Fl_Group )" },
  { dao_Fl_Group_insert_dao_2, "insert( self : Fl_Group, o : Fl_Widget, before : Fl_Widget )" },
  { dao_Fl_Group_insert, "insert( self : Fl_Group, _cp0 : Fl_Widget, i : int )" },
  { dao_Fl_Group_remove, "remove( self : Fl_Group, _cp0 : Fl_Widget )" },
  { dao_Fl_Group_remove_dao_2, "remove( self : Fl_Group, o : Fl_Widget )" },
  { dao_Fl_Group_resizable_dao_3, "resizable( self : Fl_Group )=>Fl_Widget" },
  { dao_Fl_Group_resizable, "resizable( self : Fl_Group, o : Fl_Widget )" },
  { dao_Fl_Group_resizable_dao_2, "resizable( self : Fl_Group, o : Fl_Widget )" },
  { dao_Fl_Group_resize, "resize( self : Fl_Group, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Group_sizes, "sizes( self : Fl_Group )=>array<int>" },
  { dao_Fl_Group_update_child, "update_child( self : Fl_Group, widget : Fl_Widget )" },
  { NULL, NULL }
};
static void Dao_Fl_Group_Delete( void *self )
{
	delete (Fl_Group*) self;
}
void* dao_cast_Fl_Group_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_Group*)data;
}

static DaoTypeBase Fl_Group_Typer = 
{ "Fl_Group", NULL, 
  dao_Fl_Group_Nums,
  dao_Fl_Group_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_Group_to_Fl_Widget,0 },
  Dao_Fl_Group_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Group_Typer = & Fl_Group_Typer;
/* Fl_Group.H */
static void dao_Fl_Group_Fl_Group( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int _cp1= (int) _p[1]->v.i;
  int _cp2= (int) _p[2]->v.i;
  int _cp3= (int) _p[3]->v.i;
  char* _cp4= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Group *_self = DaoCxx_Fl_Group_New( _cp0, _cp1, _cp2, _cp3, _cp4 );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Group.H */
static void dao_Fl_Group__ddfdesign_kludge( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* _cp_ret = self->Fl_Group::_ddfdesign_kludge(  );
  DaoContext_WrapCData( _ctx, (void*) _cp_ret, dao_Fl_Widget_Typer );
}
/* Fl_Group.H */
static void dao_Fl_Group_add( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Group::add( *_cp0 );
}
/* Fl_Group.H */
static void dao_Fl_Group_add_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Group::add( o );
}
/* Fl_Group.H */
static void dao_Fl_Group_add_resizable( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Group::add_resizable( *o );
}
/* Fl_Group.H */
static void dao_Fl_Group_as_group__Fl_Group( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Group* _as_group = self->Fl_Group::as_group(  );
  DaoContext_WrapCData( _ctx, (void*) _as_group, dao_Fl_Group_Typer );
}
/* Fl_Group.H */
static void dao_Fl_Group_as_group( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Group_as_group__Fl_Group( _ctx, _p, _n );
    return;
  }
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Group* _as_group = self->as_group(  );
  DaoContext_WrapCData( _ctx, (void*) _as_group, dao_Fl_Group_Typer );
}
/* Fl_Group.H */
static void dao_Fl_Group_begin( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  self->Fl_Group::begin(  );
}
/* Fl_Group.H */
static void dao_Fl_Group_child( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  int n= (int) _p[1]->v.i;
  Fl_Widget* _child = self->Fl_Group::child( n );
  DaoContext_WrapCData( _ctx, (void*) _child, dao_Fl_Widget_Typer );
}
/* Fl_Group.H */
static void dao_Fl_Group_children( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  int _children = self->Fl_Group::children(  );
  DaoContext_PutInteger( _ctx, (int) _children );
}
/* Fl_Group.H */
static void dao_Fl_Group_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  self->Fl_Group::clear(  );
}
/* Fl_Group.H */
static void dao_Fl_Group_clip_children_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  unsigned int _clip_children = self->Fl_Group::clip_children(  );
  DaoContext_PutInteger( _ctx, (int) _clip_children );
}
/* Fl_Group.H */
static void dao_Fl_Group_clip_children( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  int c= (int) _p[1]->v.i;
  self->Fl_Group::clip_children( c );
}
/* Fl_Group.H */
static void dao_Fl_Group_current( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* _current = Fl_Group::current(  );
  DaoContext_WrapCData( _ctx, (void*) _current, dao_Fl_Group_Typer );
}
/* Fl_Group.H */
static void dao_Fl_Group_current_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* g= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Group::current( g );
}
/* Fl_Group.H */
static void dao_Fl_Group_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Group *self = (DaoCxx_Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Group.H */
static void dao_Fl_Group_draw_child( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Group *self = (DaoCxx_Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* widget= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->DaoWrap_draw_child( *widget );
}
/* Fl_Group.H */
static void dao_Fl_Group_draw_children( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Group *self = (DaoCxx_Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  self->DaoWrap_draw_children(  );
}
/* Fl_Group.H */
static void dao_Fl_Group_draw_outside_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Group *self = (DaoCxx_Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* widget= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->DaoWrap_draw_outside_label( *widget );
}
/* Fl_Group.H */
static void dao_Fl_Group_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  self->Fl_Group::end(  );
}
/* Fl_Group.H */
static void dao_Fl_Group_find_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int _find = self->Fl_Group::find( *o );
  DaoContext_PutInteger( _ctx, (int) _find );
}
/* Fl_Group.H */
static void dao_Fl_Group_find( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int _find = self->Fl_Group::find( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _find );
}
/* Fl_Group.H */
static void dao_Fl_Group_focus( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* W= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Group::focus( W );
}
/* Fl_Group.H */
static void dao_Fl_Group_forms_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  self->Fl_Group::forms_end(  );
}
/* Fl_Group.H */
static void dao_Fl_Group_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Group::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Group.H */
static void dao_Fl_Group_init_sizes( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  self->Fl_Group::init_sizes(  );
}
/* Fl_Group.H */
static void dao_Fl_Group_insert_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  Fl_Widget* before= (Fl_Widget*) DValue_CastCData( _p[2], dao_Fl_Widget_Typer );
  self->Fl_Group::insert( *o, before );
}
/* Fl_Group.H */
static void dao_Fl_Group_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int i= (int) _p[2]->v.i;
  self->Fl_Group::insert( *_cp0, i );
}
/* Fl_Group.H */
static void dao_Fl_Group_remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Group::remove( *_cp0 );
}
/* Fl_Group.H */
static void dao_Fl_Group_remove_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Group::remove( o );
}
/* Fl_Group.H */
static void dao_Fl_Group_resizable_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* _resizable = self->Fl_Group::resizable(  );
  DaoContext_WrapCData( _ctx, (void*) _resizable, dao_Fl_Widget_Typer );
}
/* Fl_Group.H */
static void dao_Fl_Group_resizable( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Group::resizable( *o );
}
/* Fl_Group.H */
static void dao_Fl_Group_resizable_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Group::resizable( o );
}
/* Fl_Group.H */
static void dao_Fl_Group_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Group* self= (Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->Fl_Group::resize( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Group.H */
static void dao_Fl_Group_sizes( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Group *self = (DaoCxx_Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  int* _sizes = self->DaoWrap_sizes(  );
  DaoContext_PutArrayInteger( _ctx, (int*) _sizes, 0 );
}
/* Fl_Group.H */
static void dao_Fl_Group_update_child( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Group *self = (DaoCxx_Fl_Group*) DValue_CastCData( _p[0], dao_Fl_Group_Typer );
  Fl_Widget* widget= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->DaoWrap_update_child( *widget );
}

/*  Fl_Window.H */


static DaoNumItem dao_Fl_Window_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Window_Fl_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_Fl_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_as_window__Fl_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_as_window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_border_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_border( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_clear_border( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_copy_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_current( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_cursor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_default_callback( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_default_cursor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_flush( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_force_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_force_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_free_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_fullscreen( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_fullscreen_off( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_handle__Fl_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_hide__Fl_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_hide( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_hotspot_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_hotspot_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_hotspot( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_icon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_icon_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_iconize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_iconlabel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_iconlabel_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_label_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_make_current( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_menu_window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_modal( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_non_modal( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_override( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_resize__Fl_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_set_menu_window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_set_modal( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_set_non_modal( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_set_override( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_set_tooltip_window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_show__Fl_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_show( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_shown( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_size_range( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_tooltip_window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_x_root( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_xclass( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_xclass_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Window_y_root( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Window_Meths[] = 
{
  { dao_Fl_Window_Fl_Window, "Fl_Window( w : int, h : int, title : string|null=null )=>Fl_Window" },
  { dao_Fl_Window_Fl_Window_dao_2, "Fl_Window( x : int, y : int, w : int, h : int, title : string|null=null )=>Fl_Window" },
  { dao_Fl_Window_as_window, "as_window( self : Fl_Window )=>Fl_Window" },
  { dao_Fl_Window_border_dao_2, "border( self : Fl_Window )=>int" },
  { dao_Fl_Window_border, "border( self : Fl_Window, b : int )" },
  { dao_Fl_Window_clear_border, "clear_border( self : Fl_Window )" },
  { dao_Fl_Window_copy_label, "copy_label( self : Fl_Window, a : string )" },
  { dao_Fl_Window_current, "current(  )=>Fl_Window" },
  { dao_Fl_Window_cursor, "cursor( self : Fl_Window, _cp0 : int, _cp1 : int=FL_BLACK, _cp2 : int=FL_WHITE )" },
  { dao_Fl_Window_default_callback, "default_callback( _cp0 : Fl_Window, v : cdata )" },
  { dao_Fl_Window_default_cursor, "default_cursor( self : Fl_Window, _cp0 : int, _cp1 : int=FL_BLACK, _cp2 : int=FL_WHITE )" },
  { dao_Fl_Window_draw, "draw( self : Fl_Window )" },
  { dao_Fl_Window_flush, "flush( self : Fl_Window )" },
  { dao_Fl_Window_force_position_dao_2, "force_position( self : Fl_Window )=>int" },
  { dao_Fl_Window_force_position, "force_position( self : Fl_Window, force : int )" },
  { dao_Fl_Window_free_position, "free_position( self : Fl_Window )" },
  { dao_Fl_Window_fullscreen, "fullscreen( self : Fl_Window )" },
  { dao_Fl_Window_fullscreen_off, "fullscreen_off( self : Fl_Window, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Window_handle, "handle( self : Fl_Window, _cp0 : int )=>int" },
  { dao_Fl_Window_hide, "hide( self : Fl_Window )" },
  { dao_Fl_Window_hotspot_dao_3, "hotspot( self : Fl_Window, p : Fl_Widget, offscreen : int = 0 )" },
  { dao_Fl_Window_hotspot_dao_2, "hotspot( self : Fl_Window, _cp0 : Fl_Widget, offscreen : int = 0 )" },
  { dao_Fl_Window_hotspot, "hotspot( self : Fl_Window, x : int, y : int, offscreen : int = 0 )" },
  { dao_Fl_Window_icon, "icon( self : Fl_Window )=>cdata" },
  { dao_Fl_Window_icon_dao_2, "icon( self : Fl_Window, ic : cdata )" },
  { dao_Fl_Window_iconize, "iconize( self : Fl_Window )" },
  { dao_Fl_Window_iconlabel, "iconlabel( self : Fl_Window )=>string" },
  { dao_Fl_Window_iconlabel_dao_2, "iconlabel( self : Fl_Window, _cp0 : string )" },
  { dao_Fl_Window_label, "label( self : Fl_Window )=>string" },
  { dao_Fl_Window_label_dao_2, "label( self : Fl_Window, _cp0 : string )" },
  { dao_Fl_Window_label_dao_3, "label( self : Fl_Window, label : string, iconlabel : string )" },
  { dao_Fl_Window_make_current, "make_current( self : Fl_Window )" },
  { dao_Fl_Window_menu_window, "menu_window( self : Fl_Window )=>int" },
  { dao_Fl_Window_modal, "modal( self : Fl_Window )=>int" },
  { dao_Fl_Window_non_modal, "non_modal( self : Fl_Window )=>int" },
  { dao_Fl_Window_override, "override( self : Fl_Window )=>int" },
  { dao_Fl_Window_resize, "resize( self : Fl_Window, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Window_set_menu_window, "set_menu_window( self : Fl_Window )" },
  { dao_Fl_Window_set_modal, "set_modal( self : Fl_Window )" },
  { dao_Fl_Window_set_non_modal, "set_non_modal( self : Fl_Window )" },
  { dao_Fl_Window_set_override, "set_override( self : Fl_Window )" },
  { dao_Fl_Window_set_tooltip_window, "set_tooltip_window( self : Fl_Window )" },
  { dao_Fl_Window_show, "show( self : Fl_Window )" },
  { dao_Fl_Window_show_dao_2, "show( self : Fl_Window, _cp0 : int, _cp1 : string )" },
  { dao_Fl_Window_shown, "shown( self : Fl_Window )=>int" },
  { dao_Fl_Window_size_range, "size_range( self : Fl_Window, a : int, b : int, c : int=0, d : int=0, e : int=0, f : int=0, g : int=0 )" },
  { dao_Fl_Window_tooltip_window, "tooltip_window( self : Fl_Window )=>int" },
  { dao_Fl_Window_x_root, "x_root( self : Fl_Window )=>int" },
  { dao_Fl_Window_xclass, "xclass( self : Fl_Window )=>string" },
  { dao_Fl_Window_xclass_dao_2, "xclass( self : Fl_Window, c : string )" },
  { dao_Fl_Window_y_root, "y_root( self : Fl_Window )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Window_Delete( void *self )
{
	delete (Fl_Window*) self;
}
void* dao_cast_Fl_Window_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Window*)data;
}

static DaoTypeBase Fl_Window_Typer = 
{ "Fl_Window", NULL, 
  dao_Fl_Window_Nums,
  dao_Fl_Window_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Window_to_Fl_Group,0 },
  Dao_Fl_Window_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Window_Typer = & Fl_Window_Typer;
/* Fl_Window.H */
static void dao_Fl_Window_Fl_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  int w= (int) _p[0]->v.i;
  int h= (int) _p[1]->v.i;
  char* title= (char*) DValue_GetMBString( _p[2] );
	DaoCxx_Fl_Window *_self = DaoCxx_Fl_Window_New( w, h, title );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Window.H */
static void dao_Fl_Window_Fl_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* title= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Window *_self = DaoCxx_Fl_Window_New( x, y, w, h, title );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Window.H */
static void dao_Fl_Window_as_window__Fl_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  Fl_Window* _as_window = self->Fl_Window::as_window(  );
  DaoContext_WrapCData( _ctx, (void*) _as_window, dao_Fl_Window_Typer );
}
/* Fl_Window.H */
static void dao_Fl_Window_as_window( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Window_as_window__Fl_Window( _ctx, _p, _n );
    return;
  }
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  Fl_Window* _as_window = self->as_window(  );
  DaoContext_WrapCData( _ctx, (void*) _as_window, dao_Fl_Window_Typer );
}
/* Fl_Window.H */
static void dao_Fl_Window_border_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  unsigned int _border = self->Fl_Window::border(  );
  DaoContext_PutInteger( _ctx, (int) _border );
}
/* Fl_Window.H */
static void dao_Fl_Window_border( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int b= (int) _p[1]->v.i;
  self->Fl_Window::border( b );
}
/* Fl_Window.H */
static void dao_Fl_Window_clear_border( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->Fl_Window::clear_border(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_copy_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  char* a= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Window::copy_label( a );
}
/* Fl_Window.H */
static void dao_Fl_Window_current( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* _current = Fl_Window::current(  );
  DaoContext_WrapCData( _ctx, (void*) _current, dao_Fl_Window_Typer );
}
/* Fl_Window.H */
static void dao_Fl_Window_cursor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  Fl_Cursor _cp0= (Fl_Cursor) _p[1]->v.i;
  Fl_Color _cp1= (Fl_Color) _p[2]->v.i;
  Fl_Color _cp2= (Fl_Color) _p[3]->v.i;
  self->Fl_Window::cursor( _cp0, _cp1, _cp2 );
}
/* Fl_Window.H */
static void dao_Fl_Window_default_callback( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* _cp0= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  void* v= (void*) DValue_GetCData( _p[1] );
  Fl_Window::default_callback( _cp0, v );
}
/* Fl_Window.H */
static void dao_Fl_Window_default_cursor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  Fl_Cursor _cp0= (Fl_Cursor) _p[1]->v.i;
  Fl_Color _cp1= (Fl_Color) _p[2]->v.i;
  Fl_Color _cp2= (Fl_Color) _p[3]->v.i;
  self->Fl_Window::default_cursor( _cp0, _cp1, _cp2 );
}
/* Fl_Window.H */
static void dao_Fl_Window_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Window *self = (DaoCxx_Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_flush( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Window *self = (DaoCxx_Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->DaoWrap_flush(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_force_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Window *self = (DaoCxx_Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int _force_position = self->DaoWrap_force_position(  );
  DaoContext_PutInteger( _ctx, (int) _force_position );
}
/* Fl_Window.H */
static void dao_Fl_Window_force_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Window *self = (DaoCxx_Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int force= (int) _p[1]->v.i;
  self->DaoWrap_force_position( force );
}
/* Fl_Window.H */
static void dao_Fl_Window_free_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->Fl_Window::free_position(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_fullscreen( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->Fl_Window::fullscreen(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_fullscreen_off( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->Fl_Window::fullscreen_off( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Window.H */
static void dao_Fl_Window_handle__Fl_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Window::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Window.H */
static void dao_Fl_Window_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Window_handle__Fl_Window( _ctx, _p, _n );
    return;
  }
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Window.H */
static void dao_Fl_Window_hide__Fl_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->Fl_Window::hide(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_hide( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Window_hide__Fl_Window( _ctx, _p, _n );
    return;
  }
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->hide(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_hotspot_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  Fl_Widget* p= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int offscreen= (int) _p[2]->v.i;
  self->Fl_Window::hotspot( *p, offscreen );
}
/* Fl_Window.H */
static void dao_Fl_Window_hotspot_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int offscreen= (int) _p[2]->v.i;
  self->Fl_Window::hotspot( _cp0, offscreen );
}
/* Fl_Window.H */
static void dao_Fl_Window_hotspot( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int offscreen= (int) _p[3]->v.i;
  self->Fl_Window::hotspot( x, y, offscreen );
}
/* Fl_Window.H */
static void dao_Fl_Window_icon( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  const void* _icon = self->Fl_Window::icon(  );
  DaoContext_PutCPointer( _ctx, (void*) _icon, 0 );
}
/* Fl_Window.H */
static void dao_Fl_Window_icon_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  void* ic= (void*) DValue_GetCData( _p[1] );
  self->Fl_Window::icon( ic );
}
/* Fl_Window.H */
static void dao_Fl_Window_iconize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->Fl_Window::iconize(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_iconlabel( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  const char* _iconlabel = self->Fl_Window::iconlabel(  );
  DaoContext_PutMBString( _ctx, (char*) _iconlabel );
}
/* Fl_Window.H */
static void dao_Fl_Window_iconlabel_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  char* _cp0= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Window::iconlabel( _cp0 );
}
/* Fl_Window.H */
static void dao_Fl_Window_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  const char* _label = self->Fl_Window::label(  );
  DaoContext_PutMBString( _ctx, (char*) _label );
}
/* Fl_Window.H */
static void dao_Fl_Window_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  char* _cp0= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Window::label( _cp0 );
}
/* Fl_Window.H */
static void dao_Fl_Window_label_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  char* label= (char*) DValue_GetMBString( _p[1] );
  char* iconlabel= (char*) DValue_GetMBString( _p[2] );
  self->Fl_Window::label( label, iconlabel );
}
/* Fl_Window.H */
static void dao_Fl_Window_make_current( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->Fl_Window::make_current(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_menu_window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  unsigned int _menu_window = self->Fl_Window::menu_window(  );
  DaoContext_PutInteger( _ctx, (int) _menu_window );
}
/* Fl_Window.H */
static void dao_Fl_Window_modal( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  unsigned int _modal = self->Fl_Window::modal(  );
  DaoContext_PutInteger( _ctx, (int) _modal );
}
/* Fl_Window.H */
static void dao_Fl_Window_non_modal( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  unsigned int _non_modal = self->Fl_Window::non_modal(  );
  DaoContext_PutInteger( _ctx, (int) _non_modal );
}
/* Fl_Window.H */
static void dao_Fl_Window_override( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  unsigned int _override = self->Fl_Window::override(  );
  DaoContext_PutInteger( _ctx, (int) _override );
}
/* Fl_Window.H */
static void dao_Fl_Window_resize__Fl_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->Fl_Window::resize( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Window.H */
static void dao_Fl_Window_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Window_resize__Fl_Window( _ctx, _p, _n );
    return;
  }
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->resize( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Window.H */
static void dao_Fl_Window_set_menu_window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->Fl_Window::set_menu_window(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_set_modal( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->Fl_Window::set_modal(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_set_non_modal( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->Fl_Window::set_non_modal(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_set_override( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->Fl_Window::set_override(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_set_tooltip_window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->Fl_Window::set_tooltip_window(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_show__Fl_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->Fl_Window::show(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_show( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Window_show__Fl_Window( _ctx, _p, _n );
    return;
  }
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  self->show(  );
}
/* Fl_Window.H */
static void dao_Fl_Window_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int _cp0= (int) _p[1]->v.i;
  char* _cp1_old = (char*)DValue_GetMBString( _p[2] );
  size_t _cp1_len = strlen( _cp1_old );
  char* _cp1 = (char*) malloc( _cp1_len + 1 );
  void* _cp1_p = strncpy( _cp1, _cp1_old, _cp1_len );
  self->Fl_Window::show( _cp0, & _cp1 );
  DString_SetMBS( _p[2]->v.s, (char*) _cp1 );
  free( _cp1 );
}
/* Fl_Window.H */
static void dao_Fl_Window_shown( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int _shown = self->Fl_Window::shown(  );
  DaoContext_PutInteger( _ctx, (int) _shown );
}
/* Fl_Window.H */
static void dao_Fl_Window_size_range( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int a= (int) _p[1]->v.i;
  int b= (int) _p[2]->v.i;
  int c= (int) _p[3]->v.i;
  int d= (int) _p[4]->v.i;
  int e= (int) _p[5]->v.i;
  int f= (int) _p[6]->v.i;
  int g= (int) _p[7]->v.i;
  self->Fl_Window::size_range( a, b, c, d, e, f, g );
}
/* Fl_Window.H */
static void dao_Fl_Window_tooltip_window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  unsigned int _tooltip_window = self->Fl_Window::tooltip_window(  );
  DaoContext_PutInteger( _ctx, (int) _tooltip_window );
}
/* Fl_Window.H */
static void dao_Fl_Window_x_root( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int _x_root = self->Fl_Window::x_root(  );
  DaoContext_PutInteger( _ctx, (int) _x_root );
}
/* Fl_Window.H */
static void dao_Fl_Window_xclass( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  const char* _xclass = self->Fl_Window::xclass(  );
  DaoContext_PutMBString( _ctx, (char*) _xclass );
}
/* Fl_Window.H */
static void dao_Fl_Window_xclass_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  char* c= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Window::xclass( c );
}
/* Fl_Window.H */
static void dao_Fl_Window_y_root( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* self= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  int _y_root = self->Fl_Window::y_root(  );
  DaoContext_PutInteger( _ctx, (int) _y_root );
}

/*  Fl.H */


static void dao_Fl_GETF_e_number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_x_root( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_x_root( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_y_root( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_y_root( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_dx( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_dx( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_dy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_dy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_clicks( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_clicks( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_is_click( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_is_click( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_keysym( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_keysym( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_length( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_length( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_belowmouse_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_pushed_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_focus_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_damage_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_damage_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_selection_owner_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_modal_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_grab_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_compose_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_compose_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_visible_focus_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_visible_focus_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_dnd_text_ops_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_dnd_text_ops_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_awake_ring_size_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_awake_ring_size_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_awake_ring_head_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_awake_ring_head_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_awake_ring_tail_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_awake_ring_tail_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_scheme_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_scheme_bg_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_e_original_keysym( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_e_original_keysym( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_scrollbar_size_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_SETF_scrollbar_size_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_GETF_help( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_arg( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_args_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_awake( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_background( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_background2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_belowmouse( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_belowmouse_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_box_dh( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_box_dw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_box_dx( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_box_dy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_check( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_compose( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_compose_reset( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_copy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_damage_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_damage( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_default_atclose( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_delete_widget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_display( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_dnd( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_dnd_text_ops_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_dnd_text_ops( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_do_widget_deletion( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_draw_box_active( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_alt( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_button1( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_button2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_button3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_buttons( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_clicks( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_clicks_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_command( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_ctrl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_dx( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_dy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_inside_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_inside( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_is_click( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_is_click_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_key( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_key_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_length( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_original_key( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_shift( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_state_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_x_root( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_event_y_root( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_first_window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_first_window_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_flush( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_focus( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_focus_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_foreground( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_get_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_get_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_get_font( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_get_font_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_get_key( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_get_mouse( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_get_system_colors( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_gl_visual( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_grab( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_grab_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_grab_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_lock( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_modal( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_next_window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_own_colormap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_paste_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_paste( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_pushed( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_pushed_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_readqueue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_ready( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_redraw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_release( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_reload_scheme( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_remove_fd_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_remove_fd( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_run( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_scheme_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_scheme( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_screen_count( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_screen_xywh( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_screen_xywh_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_screen_xywh_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_scrollbar_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_scrollbar_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_selection_owner( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_selection_owner_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_set_boxtype_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_set_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_set_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_set_font_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_set_font( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_set_fonts( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_test_shortcut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_thread_message( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_unlock( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_version( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_visible_focus_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_visible_focus( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_visual( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_wait( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_wait_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_y( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Meths[] = 
{
  { dao_Fl_GETF_e_number, ".e_number( self : Fl )=>int" },
  { dao_Fl_SETF_e_number, ".e_number=( self : Fl, e_number : int )" },
  { dao_Fl_GETF_e_x, ".e_x( self : Fl )=>int" },
  { dao_Fl_SETF_e_x, ".e_x=( self : Fl, e_x : int )" },
  { dao_Fl_GETF_e_y, ".e_y( self : Fl )=>int" },
  { dao_Fl_SETF_e_y, ".e_y=( self : Fl, e_y : int )" },
  { dao_Fl_GETF_e_x_root, ".e_x_root( self : Fl )=>int" },
  { dao_Fl_SETF_e_x_root, ".e_x_root=( self : Fl, e_x_root : int )" },
  { dao_Fl_GETF_e_y_root, ".e_y_root( self : Fl )=>int" },
  { dao_Fl_SETF_e_y_root, ".e_y_root=( self : Fl, e_y_root : int )" },
  { dao_Fl_GETF_e_dx, ".e_dx( self : Fl )=>int" },
  { dao_Fl_SETF_e_dx, ".e_dx=( self : Fl, e_dx : int )" },
  { dao_Fl_GETF_e_dy, ".e_dy( self : Fl )=>int" },
  { dao_Fl_SETF_e_dy, ".e_dy=( self : Fl, e_dy : int )" },
  { dao_Fl_GETF_e_state, ".e_state( self : Fl )=>int" },
  { dao_Fl_SETF_e_state, ".e_state=( self : Fl, e_state : int )" },
  { dao_Fl_GETF_e_clicks, ".e_clicks( self : Fl )=>int" },
  { dao_Fl_SETF_e_clicks, ".e_clicks=( self : Fl, e_clicks : int )" },
  { dao_Fl_GETF_e_is_click, ".e_is_click( self : Fl )=>int" },
  { dao_Fl_SETF_e_is_click, ".e_is_click=( self : Fl, e_is_click : int )" },
  { dao_Fl_GETF_e_keysym, ".e_keysym( self : Fl )=>int" },
  { dao_Fl_SETF_e_keysym, ".e_keysym=( self : Fl, e_keysym : int )" },
  { dao_Fl_GETF_e_text, ".e_text( self : Fl )=>string" },
  { dao_Fl_GETF_e_length, ".e_length( self : Fl )=>int" },
  { dao_Fl_SETF_e_length, ".e_length=( self : Fl, e_length : int )" },
  { dao_Fl_GETF_belowmouse_, ".belowmouse_( self : Fl )=>Fl_Widget" },
  { dao_Fl_GETF_pushed_, ".pushed_( self : Fl )=>Fl_Widget" },
  { dao_Fl_GETF_focus_, ".focus_( self : Fl )=>Fl_Widget" },
  { dao_Fl_GETF_damage_, ".damage_( self : Fl )=>int" },
  { dao_Fl_SETF_damage_, ".damage_=( self : Fl, damage_ : int )" },
  { dao_Fl_GETF_selection_owner_, ".selection_owner_( self : Fl )=>Fl_Widget" },
  { dao_Fl_GETF_modal_, ".modal_( self : Fl )=>Fl_Window" },
  { dao_Fl_GETF_grab_, ".grab_( self : Fl )=>Fl_Window" },
  { dao_Fl_GETF_compose_state, ".compose_state( self : Fl )=>int" },
  { dao_Fl_SETF_compose_state, ".compose_state=( self : Fl, compose_state : int )" },
  { dao_Fl_GETF_visible_focus_, ".visible_focus_( self : Fl )=>int" },
  { dao_Fl_SETF_visible_focus_, ".visible_focus_=( self : Fl, visible_focus_ : int )" },
  { dao_Fl_GETF_dnd_text_ops_, ".dnd_text_ops_( self : Fl )=>int" },
  { dao_Fl_SETF_dnd_text_ops_, ".dnd_text_ops_=( self : Fl, dnd_text_ops_ : int )" },
  { dao_Fl_GETF_awake_ring_size_, ".awake_ring_size_( self : Fl )=>int" },
  { dao_Fl_SETF_awake_ring_size_, ".awake_ring_size_=( self : Fl, awake_ring_size_ : int )" },
  { dao_Fl_GETF_awake_ring_head_, ".awake_ring_head_( self : Fl )=>int" },
  { dao_Fl_SETF_awake_ring_head_, ".awake_ring_head_=( self : Fl, awake_ring_head_ : int )" },
  { dao_Fl_GETF_awake_ring_tail_, ".awake_ring_tail_( self : Fl )=>int" },
  { dao_Fl_SETF_awake_ring_tail_, ".awake_ring_tail_=( self : Fl, awake_ring_tail_ : int )" },
  { dao_Fl_GETF_scheme_, ".scheme_( self : Fl )=>string" },
  { dao_Fl_GETF_scheme_bg_, ".scheme_bg_( self : Fl )=>Fl_Image" },
  { dao_Fl_GETF_e_original_keysym, ".e_original_keysym( self : Fl )=>int" },
  { dao_Fl_SETF_e_original_keysym, ".e_original_keysym=( self : Fl, e_original_keysym : int )" },
  { dao_Fl_GETF_scrollbar_size_, ".scrollbar_size_( self : Fl )=>int" },
  { dao_Fl_SETF_scrollbar_size_, ".scrollbar_size_=( self : Fl, scrollbar_size_ : int )" },
  { dao_Fl_GETF_help, ".help( self : Fl )=>string" },
  { dao_Fl_arg, "arg( _cp0 : int, _cp1 : string, _cp2 : int )=>int" },
  { dao_Fl_args_dao_2, "args( _cp0 : int, _cp1 : string )" },
  { dao_Fl_awake, "awake( message : cdata|null=null )" },
  { dao_Fl_background, "background( _cp0 : int, _cp1 : int, _cp2 : int )" },
  { dao_Fl_background2, "background2( _cp0 : int, _cp1 : int, _cp2 : int )" },
  { dao_Fl_belowmouse, "belowmouse(  )=>Fl_Widget" },
  { dao_Fl_belowmouse_dao_2, "belowmouse( _cp0 : Fl_Widget )" },
  { dao_Fl_box_dh, "box_dh( _cp0 : int )=>int" },
  { dao_Fl_box_dw, "box_dw( _cp0 : int )=>int" },
  { dao_Fl_box_dx, "box_dx( _cp0 : int )=>int" },
  { dao_Fl_box_dy, "box_dy( _cp0 : int )=>int" },
  { dao_Fl_check, "check(  )=>int" },
  { dao_Fl_compose, "compose( del : int )=>int" },
  { dao_Fl_compose_reset, "compose_reset(  )" },
  { dao_Fl_copy, "copy( stuff : string, len : int, clipboard : int = 0 )" },
  { dao_Fl_damage_dao_2, "damage(  )=>int" },
  { dao_Fl_damage, "damage( d : int )" },
  { dao_Fl_default_atclose, "default_atclose( _cp0 : Fl_Window, _cp1 : cdata )" },
  { dao_Fl_delete_widget, "delete_widget( w : Fl_Widget )" },
  { dao_Fl_display, "display( _cp0 : string )" },
  { dao_Fl_dnd, "dnd(  )=>int" },
  { dao_Fl_dnd_text_ops_dao_2, "dnd_text_ops(  )=>int" },
  { dao_Fl_dnd_text_ops, "dnd_text_ops( v : int )" },
  { dao_Fl_do_widget_deletion, "do_widget_deletion(  )" },
  { dao_Fl_draw_box_active, "draw_box_active(  )=>int" },
  { dao_Fl_event, "event(  )=>int" },
  { dao_Fl_event_alt, "event_alt(  )=>int" },
  { dao_Fl_event_button, "event_button(  )=>int" },
  { dao_Fl_event_button1, "event_button1(  )=>int" },
  { dao_Fl_event_button2, "event_button2(  )=>int" },
  { dao_Fl_event_button3, "event_button3(  )=>int" },
  { dao_Fl_event_buttons, "event_buttons(  )=>int" },
  { dao_Fl_event_clicks, "event_clicks(  )=>int" },
  { dao_Fl_event_clicks_dao_2, "event_clicks( i : int )" },
  { dao_Fl_event_command, "event_command(  )=>int" },
  { dao_Fl_event_ctrl, "event_ctrl(  )=>int" },
  { dao_Fl_event_dx, "event_dx(  )=>int" },
  { dao_Fl_event_dy, "event_dy(  )=>int" },
  { dao_Fl_event_inside_dao_2, "event_inside( _cp0 : Fl_Widget )=>int" },
  { dao_Fl_event_inside, "event_inside( _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )=>int" },
  { dao_Fl_event_is_click, "event_is_click(  )=>int" },
  { dao_Fl_event_is_click_dao_2, "event_is_click( i : int )" },
  { dao_Fl_event_key, "event_key(  )=>int" },
  { dao_Fl_event_key_dao_2, "event_key( key : int )=>int" },
  { dao_Fl_event_length, "event_length(  )=>int" },
  { dao_Fl_event_original_key, "event_original_key(  )=>int" },
  { dao_Fl_event_shift, "event_shift(  )=>int" },
  { dao_Fl_event_state, "event_state(  )=>int" },
  { dao_Fl_event_state_dao_2, "event_state( i : int )=>int" },
  { dao_Fl_event_text, "event_text(  )=>string" },
  { dao_Fl_event_x, "event_x(  )=>int" },
  { dao_Fl_event_x_root, "event_x_root(  )=>int" },
  { dao_Fl_event_y, "event_y(  )=>int" },
  { dao_Fl_event_y_root, "event_y_root(  )=>int" },
  { dao_Fl_first_window, "first_window(  )=>Fl_Window" },
  { dao_Fl_first_window_dao_2, "first_window( _cp0 : Fl_Window )" },
  { dao_Fl_flush, "flush(  )" },
  { dao_Fl_focus, "focus(  )=>Fl_Widget" },
  { dao_Fl_focus_dao_2, "focus( _cp0 : Fl_Widget )" },
  { dao_Fl_foreground, "foreground( _cp0 : int, _cp1 : int, _cp2 : int )" },
  { dao_Fl_get_color, "get_color( _cp0 : int )=>int" },
  { dao_Fl_get_color_dao_2, "get_color( _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_get_font, "get_font( _cp0 : int )=>string" },
  { dao_Fl_get_font_name, "get_font_name( _cp0 : int, attributes : int|null=null )=>string" },
  { dao_Fl_get_key, "get_key( key : int )=>int" },
  { dao_Fl_get_mouse, "get_mouse( _cp0 : int, _cp1 : int )" },
  { dao_Fl_get_system_colors, "get_system_colors(  )" },
  { dao_Fl_gl_visual, "gl_visual( _cp0 : int, alist : int|null=null )=>int" },
  { dao_Fl_grab, "grab(  )=>Fl_Window" },
  { dao_Fl_grab_dao_3, "grab( win : Fl_Window )" },
  { dao_Fl_grab_dao_2, "grab( _cp0 : Fl_Window )" },
  { dao_Fl_h, "h(  )=>int" },
  { dao_Fl_handle, "handle( _cp0 : int, _cp1 : Fl_Window )=>int" },
  { dao_Fl_lock, "lock(  )" },
  { dao_Fl_modal, "modal(  )=>Fl_Window" },
  { dao_Fl_next_window, "next_window( _cp0 : Fl_Window )=>Fl_Window" },
  { dao_Fl_own_colormap, "own_colormap(  )" },
  { dao_Fl_paste_dao_2, "paste( receiver : Fl_Widget )" },
  { dao_Fl_paste, "paste( receiver : Fl_Widget, clipboard : int )" },
  { dao_Fl_pushed, "pushed(  )=>Fl_Widget" },
  { dao_Fl_pushed_dao_2, "pushed( _cp0 : Fl_Widget )" },
  { dao_Fl_readqueue, "readqueue(  )=>Fl_Widget" },
  { dao_Fl_ready, "ready(  )=>int" },
  { dao_Fl_redraw, "redraw(  )" },
  { dao_Fl_release, "release(  )" },
  { dao_Fl_reload_scheme, "reload_scheme(  )=>int" },
  { dao_Fl_remove_fd_dao_2, "remove_fd( _cp0 : int )" },
  { dao_Fl_remove_fd, "remove_fd( _cp0 : int, when : int )" },
  { dao_Fl_run, "run(  )=>int" },
  { dao_Fl_scheme_dao_2, "scheme(  )=>string" },
  { dao_Fl_scheme, "scheme( _cp0 : string )=>int" },
  { dao_Fl_screen_count, "screen_count(  )=>int" },
  { dao_Fl_screen_xywh, "screen_xywh( X : int, Y : int, W : int, H : int )" },
  { dao_Fl_screen_xywh_dao_3, "screen_xywh( X : int, Y : int, W : int, H : int, n : int )" },
  { dao_Fl_screen_xywh_dao_2, "screen_xywh( X : int, Y : int, W : int, H : int, mx : int, my : int )" },
  { dao_Fl_scrollbar_size, "scrollbar_size(  )=>int" },
  { dao_Fl_scrollbar_size_dao_2, "scrollbar_size( W : int )" },
  { dao_Fl_selection, "selection( owner : Fl_Widget, _cp1 : string, len : int )" },
  { dao_Fl_selection_owner, "selection_owner(  )=>Fl_Widget" },
  { dao_Fl_selection_owner_dao_2, "selection_owner( _cp0 : Fl_Widget )" },
  { dao_Fl_set_boxtype_dao_2, "set_boxtype( _cp0 : int, from : int )" },
  { dao_Fl_set_color, "set_color( _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_set_color_dao_2, "set_color( _cp0 : int, _cp1 : int )" },
  { dao_Fl_set_font_dao_2, "set_font( _cp0 : int, _cp1 : int )" },
  { dao_Fl_set_font, "set_font( _cp0 : int, _cp1 : string )" },
  { dao_Fl_set_fonts, "set_fonts( _cp0 : string|null=null )=>int" },
  { dao_Fl_test_shortcut, "test_shortcut( _cp0 : int )=>int" },
  { dao_Fl_thread_message, "thread_message(  )=>cdata" },
  { dao_Fl_unlock, "unlock(  )" },
  { dao_Fl_version, "version(  )=>double" },
  { dao_Fl_visible_focus_dao_2, "visible_focus(  )=>int" },
  { dao_Fl_visible_focus, "visible_focus( v : int )" },
  { dao_Fl_visual, "visual( _cp0 : int )=>int" },
  { dao_Fl_w, "w(  )=>int" },
  { dao_Fl_wait, "wait(  )=>int" },
  { dao_Fl_wait_dao_2, "wait( time : double )=>double" },
  { dao_Fl_x, "x(  )=>int" },
  { dao_Fl_y, "y(  )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Delete( void *self )
{
	delete (Fl*) self;
}

static DaoTypeBase Fl_Typer = 
{ "Fl", NULL, 
  dao_Fl_Nums,
  dao_Fl_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Typer = & Fl_Typer;
static void dao_Fl_GETF_e_number( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_number );
}
static void dao_Fl_SETF_e_number( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_number = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_e_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_x );
}
static void dao_Fl_SETF_e_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_x = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_e_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_y );
}
static void dao_Fl_SETF_e_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_y = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_e_x_root( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_x_root );
}
static void dao_Fl_SETF_e_x_root( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_x_root = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_e_y_root( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_y_root );
}
static void dao_Fl_SETF_e_y_root( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_y_root = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_e_dx( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_dx );
}
static void dao_Fl_SETF_e_dx( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_dx = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_e_dy( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_dy );
}
static void dao_Fl_SETF_e_dy( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_dy = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_e_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_state );
}
static void dao_Fl_SETF_e_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_state = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_e_clicks( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_clicks );
}
static void dao_Fl_SETF_e_clicks( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_clicks = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_e_is_click( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_is_click );
}
static void dao_Fl_SETF_e_is_click( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_is_click = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_e_keysym( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_keysym );
}
static void dao_Fl_SETF_e_keysym( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_keysym = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_e_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->e_text );
}
static void dao_Fl_GETF_e_length( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_length );
}
static void dao_Fl_SETF_e_length( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_length = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_belowmouse_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->belowmouse_, dao_Fl_Widget_Typer );
}
static void dao_Fl_GETF_pushed_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->pushed_, dao_Fl_Widget_Typer );
}
static void dao_Fl_GETF_focus_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->focus_, dao_Fl_Widget_Typer );
}
static void dao_Fl_GETF_damage_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->damage_ );
}
static void dao_Fl_SETF_damage_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->damage_ = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_selection_owner_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->selection_owner_, dao_Fl_Widget_Typer );
}
static void dao_Fl_GETF_modal_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->modal_, dao_Fl_Window_Typer );
}
static void dao_Fl_GETF_grab_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->grab_, dao_Fl_Window_Typer );
}
static void dao_Fl_GETF_compose_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->compose_state );
}
static void dao_Fl_SETF_compose_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->compose_state = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_visible_focus_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->visible_focus_ );
}
static void dao_Fl_SETF_visible_focus_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->visible_focus_ = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_dnd_text_ops_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->dnd_text_ops_ );
}
static void dao_Fl_SETF_dnd_text_ops_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->dnd_text_ops_ = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_awake_ring_size_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->awake_ring_size_ );
}
static void dao_Fl_SETF_awake_ring_size_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->awake_ring_size_ = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_awake_ring_head_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->awake_ring_head_ );
}
static void dao_Fl_SETF_awake_ring_head_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->awake_ring_head_ = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_awake_ring_tail_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->awake_ring_tail_ );
}
static void dao_Fl_SETF_awake_ring_tail_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->awake_ring_tail_ = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_scheme_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->scheme_ );
}
static void dao_Fl_GETF_scheme_bg_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->scheme_bg_, dao_Fl_Image_Typer );
}
static void dao_Fl_GETF_e_original_keysym( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->e_original_keysym );
}
static void dao_Fl_SETF_e_original_keysym( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->e_original_keysym = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_scrollbar_size_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutInteger( _ctx, (int) self->scrollbar_size_ );
}
static void dao_Fl_SETF_scrollbar_size_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  self->scrollbar_size_ = (int) _p[1]->v.i;
}
static void dao_Fl_GETF_help( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl *self = (Fl*)DValue_CastCData(_p[0],dao_Fl_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->help );
}
/* Fl.H */
static void dao_Fl_arg( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  char* _cp1_old = (char*)DValue_GetMBString( _p[1] );
  size_t _cp1_len = strlen( _cp1_old );
  char* _cp1 = (char*) malloc( _cp1_len + 1 );
  void* _cp1_p = strncpy( _cp1, _cp1_old, _cp1_len );
  int _cp2= (int) _p[2]->v.i;
  int _arg = Fl::arg( _cp0, & _cp1, _cp2 );
  DString_SetMBS( _p[1]->v.s, (char*) _cp1 );
  free( _cp1 );
  _p[2]->v.i = (int) _cp2;
  DaoContext_PutInteger( _ctx, (int) _arg );
}
/* Fl.H */
static void dao_Fl_args_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  char* _cp1_old = (char*)DValue_GetMBString( _p[1] );
  size_t _cp1_len = strlen( _cp1_old );
  char* _cp1 = (char*) malloc( _cp1_len + 1 );
  void* _cp1_p = strncpy( _cp1, _cp1_old, _cp1_len );
  Fl::args( _cp0, & _cp1 );
  DString_SetMBS( _p[1]->v.s, (char*) _cp1 );
  free( _cp1 );
}
/* Fl.H */
static void dao_Fl_awake( DaoContext *_ctx, DValue *_p[], int _n )
{
  void* message= (void*) DValue_GetCData( _p[0] );
  Fl::awake( message );
}
/* Fl.H */
static void dao_Fl_background( DaoContext *_ctx, DValue *_p[], int _n )
{
  uchar _cp0= (uchar) _p[0]->v.i;
  uchar _cp1= (uchar) _p[1]->v.i;
  uchar _cp2= (uchar) _p[2]->v.i;
  Fl::background( _cp0, _cp1, _cp2 );
}
/* Fl.H */
static void dao_Fl_background2( DaoContext *_ctx, DValue *_p[], int _n )
{
  uchar _cp0= (uchar) _p[0]->v.i;
  uchar _cp1= (uchar) _p[1]->v.i;
  uchar _cp2= (uchar) _p[2]->v.i;
  Fl::background2( _cp0, _cp1, _cp2 );
}
/* Fl.H */
static void dao_Fl_belowmouse( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* _belowmouse = Fl::belowmouse(  );
  DaoContext_WrapCData( _ctx, (void*) _belowmouse, dao_Fl_Widget_Typer );
}
/* Fl.H */
static void dao_Fl_belowmouse_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl::belowmouse( _cp0 );
}
/* Fl.H */
static void dao_Fl_box_dh( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Boxtype _cp0= (Fl_Boxtype) _p[0]->v.i;
  int _box_dh = Fl::box_dh( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _box_dh );
}
/* Fl.H */
static void dao_Fl_box_dw( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Boxtype _cp0= (Fl_Boxtype) _p[0]->v.i;
  int _box_dw = Fl::box_dw( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _box_dw );
}
/* Fl.H */
static void dao_Fl_box_dx( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Boxtype _cp0= (Fl_Boxtype) _p[0]->v.i;
  int _box_dx = Fl::box_dx( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _box_dx );
}
/* Fl.H */
static void dao_Fl_box_dy( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Boxtype _cp0= (Fl_Boxtype) _p[0]->v.i;
  int _box_dy = Fl::box_dy( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _box_dy );
}
/* Fl.H */
static void dao_Fl_check( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _check = Fl::check(  );
  DaoContext_PutInteger( _ctx, (int) _check );
}
/* Fl.H */
static void dao_Fl_compose( DaoContext *_ctx, DValue *_p[], int _n )
{
  int del= (int) _p[0]->v.i;
  int _compose = Fl::compose( del );
  _p[0]->v.i = (int) del;
  DaoContext_PutInteger( _ctx, (int) _compose );
}
/* Fl.H */
static void dao_Fl_compose_reset( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl::compose_reset(  );
}
/* Fl.H */
static void dao_Fl_copy( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* stuff= (char*) DValue_GetMBString( _p[0] );
  int len= (int) _p[1]->v.i;
  int clipboard= (int) _p[2]->v.i;
  Fl::copy( stuff, len, clipboard );
}
/* Fl.H */
static void dao_Fl_damage_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _damage = Fl::damage(  );
  DaoContext_PutInteger( _ctx, (int) _damage );
}
/* Fl.H */
static void dao_Fl_damage( DaoContext *_ctx, DValue *_p[], int _n )
{
  int d= (int) _p[0]->v.i;
  Fl::damage( d );
}
/* Fl.H */
static void dao_Fl_default_atclose( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* _cp0= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  void* _cp1= (void*) DValue_GetCData( _p[1] );
  Fl::default_atclose( _cp0, _cp1 );
}
/* Fl.H */
static void dao_Fl_delete_widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl::delete_widget( w );
}
/* Fl.H */
static void dao_Fl_display( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* _cp0= (char*) DValue_GetMBString( _p[0] );
  Fl::display( _cp0 );
}
/* Fl.H */
static void dao_Fl_dnd( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _dnd = Fl::dnd(  );
  DaoContext_PutInteger( _ctx, (int) _dnd );
}
/* Fl.H */
static void dao_Fl_dnd_text_ops_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _dnd_text_ops = Fl::dnd_text_ops(  );
  DaoContext_PutInteger( _ctx, (int) _dnd_text_ops );
}
/* Fl.H */
static void dao_Fl_dnd_text_ops( DaoContext *_ctx, DValue *_p[], int _n )
{
  int v= (int) _p[0]->v.i;
  Fl::dnd_text_ops( v );
}
/* Fl.H */
static void dao_Fl_do_widget_deletion( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl::do_widget_deletion(  );
}
/* Fl.H */
static void dao_Fl_draw_box_active( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _draw_box_active = Fl::draw_box_active(  );
  DaoContext_PutInteger( _ctx, (int) _draw_box_active );
}
/* Fl.H */
static void dao_Fl_event( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event = Fl::event(  );
  DaoContext_PutInteger( _ctx, (int) _event );
}
/* Fl.H */
static void dao_Fl_event_alt( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_alt = Fl::event_alt(  );
  DaoContext_PutInteger( _ctx, (int) _event_alt );
}
/* Fl.H */
static void dao_Fl_event_button( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_button = Fl::event_button(  );
  DaoContext_PutInteger( _ctx, (int) _event_button );
}
/* Fl.H */
static void dao_Fl_event_button1( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_button1 = Fl::event_button1(  );
  DaoContext_PutInteger( _ctx, (int) _event_button1 );
}
/* Fl.H */
static void dao_Fl_event_button2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_button2 = Fl::event_button2(  );
  DaoContext_PutInteger( _ctx, (int) _event_button2 );
}
/* Fl.H */
static void dao_Fl_event_button3( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_button3 = Fl::event_button3(  );
  DaoContext_PutInteger( _ctx, (int) _event_button3 );
}
/* Fl.H */
static void dao_Fl_event_buttons( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_buttons = Fl::event_buttons(  );
  DaoContext_PutInteger( _ctx, (int) _event_buttons );
}
/* Fl.H */
static void dao_Fl_event_clicks( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_clicks = Fl::event_clicks(  );
  DaoContext_PutInteger( _ctx, (int) _event_clicks );
}
/* Fl.H */
static void dao_Fl_event_clicks_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int i= (int) _p[0]->v.i;
  Fl::event_clicks( i );
}
/* Fl.H */
static void dao_Fl_event_command( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_command = Fl::event_command(  );
  DaoContext_PutInteger( _ctx, (int) _event_command );
}
/* Fl.H */
static void dao_Fl_event_ctrl( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_ctrl = Fl::event_ctrl(  );
  DaoContext_PutInteger( _ctx, (int) _event_ctrl );
}
/* Fl.H */
static void dao_Fl_event_dx( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_dx = Fl::event_dx(  );
  DaoContext_PutInteger( _ctx, (int) _event_dx );
}
/* Fl.H */
static void dao_Fl_event_dy( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_dy = Fl::event_dy(  );
  DaoContext_PutInteger( _ctx, (int) _event_dy );
}
/* Fl.H */
static void dao_Fl_event_inside_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int _event_inside = Fl::event_inside( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _event_inside );
}
/* Fl.H */
static void dao_Fl_event_inside( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int _cp1= (int) _p[1]->v.i;
  int _cp2= (int) _p[2]->v.i;
  int _cp3= (int) _p[3]->v.i;
  int _event_inside = Fl::event_inside( _cp0, _cp1, _cp2, _cp3 );
  DaoContext_PutInteger( _ctx, (int) _event_inside );
}
/* Fl.H */
static void dao_Fl_event_is_click( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_is_click = Fl::event_is_click(  );
  DaoContext_PutInteger( _ctx, (int) _event_is_click );
}
/* Fl.H */
static void dao_Fl_event_is_click_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int i= (int) _p[0]->v.i;
  Fl::event_is_click( i );
}
/* Fl.H */
static void dao_Fl_event_key( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_key = Fl::event_key(  );
  DaoContext_PutInteger( _ctx, (int) _event_key );
}
/* Fl.H */
static void dao_Fl_event_key_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int key= (int) _p[0]->v.i;
  int _event_key = Fl::event_key( key );
  DaoContext_PutInteger( _ctx, (int) _event_key );
}
/* Fl.H */
static void dao_Fl_event_length( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_length = Fl::event_length(  );
  DaoContext_PutInteger( _ctx, (int) _event_length );
}
/* Fl.H */
static void dao_Fl_event_original_key( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_original_key = Fl::event_original_key(  );
  DaoContext_PutInteger( _ctx, (int) _event_original_key );
}
/* Fl.H */
static void dao_Fl_event_shift( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_shift = Fl::event_shift(  );
  DaoContext_PutInteger( _ctx, (int) _event_shift );
}
/* Fl.H */
static void dao_Fl_event_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_state = Fl::event_state(  );
  DaoContext_PutInteger( _ctx, (int) _event_state );
}
/* Fl.H */
static void dao_Fl_event_state_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int i= (int) _p[0]->v.i;
  int _event_state = Fl::event_state( i );
  DaoContext_PutInteger( _ctx, (int) _event_state );
}
/* Fl.H */
static void dao_Fl_event_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  const char* _event_text = Fl::event_text(  );
  DaoContext_PutMBString( _ctx, (char*) _event_text );
}
/* Fl.H */
static void dao_Fl_event_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_x = Fl::event_x(  );
  DaoContext_PutInteger( _ctx, (int) _event_x );
}
/* Fl.H */
static void dao_Fl_event_x_root( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_x_root = Fl::event_x_root(  );
  DaoContext_PutInteger( _ctx, (int) _event_x_root );
}
/* Fl.H */
static void dao_Fl_event_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_y = Fl::event_y(  );
  DaoContext_PutInteger( _ctx, (int) _event_y );
}
/* Fl.H */
static void dao_Fl_event_y_root( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _event_y_root = Fl::event_y_root(  );
  DaoContext_PutInteger( _ctx, (int) _event_y_root );
}
/* Fl.H */
static void dao_Fl_first_window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* _first_window = Fl::first_window(  );
  DaoContext_WrapCData( _ctx, (void*) _first_window, dao_Fl_Window_Typer );
}
/* Fl.H */
static void dao_Fl_first_window_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* _cp0= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  Fl::first_window( _cp0 );
}
/* Fl.H */
static void dao_Fl_flush( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl::flush(  );
}
/* Fl.H */
static void dao_Fl_focus( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* _focus = Fl::focus(  );
  DaoContext_WrapCData( _ctx, (void*) _focus, dao_Fl_Widget_Typer );
}
/* Fl.H */
static void dao_Fl_focus_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl::focus( _cp0 );
}
/* Fl.H */
static void dao_Fl_foreground( DaoContext *_ctx, DValue *_p[], int _n )
{
  uchar _cp0= (uchar) _p[0]->v.i;
  uchar _cp1= (uchar) _p[1]->v.i;
  uchar _cp2= (uchar) _p[2]->v.i;
  Fl::foreground( _cp0, _cp1, _cp2 );
}
/* Fl.H */
static void dao_Fl_get_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color _cp0= (Fl_Color) _p[0]->v.i;
  Fl_Color _get_color = Fl::get_color( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _get_color );
}
/* Fl.H */
static void dao_Fl_get_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color _cp0= (Fl_Color) _p[0]->v.i;
  uchar _cp1= (uchar) _p[1]->v.i;
  uchar _cp2= (uchar) _p[2]->v.i;
  uchar _cp3= (uchar) _p[3]->v.i;
  Fl::get_color( _cp0, _cp1, _cp2, _cp3 );
  _p[1]->v.i = (int) _cp1;
  _p[2]->v.i = (int) _cp2;
  _p[3]->v.i = (int) _cp3;
}
/* Fl.H */
static void dao_Fl_get_font( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Font _cp0= (Fl_Font) _p[0]->v.i;
  const char* _get_font = Fl::get_font( _cp0 );
  DaoContext_PutMBString( _ctx, (char*) _get_font );
}
/* Fl.H */
static void dao_Fl_get_font_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Font _cp0= (Fl_Font) _p[0]->v.i;
  int attributes= (int) _p[1]->v.i;
  const char* _get_font_name = Fl::get_font_name( _cp0, & attributes );
  _p[1]->v.i = (int) attributes;
  DaoContext_PutMBString( _ctx, (char*) _get_font_name );
}
/* Fl.H */
static void dao_Fl_get_key( DaoContext *_ctx, DValue *_p[], int _n )
{
  int key= (int) _p[0]->v.i;
  int _get_key = Fl::get_key( key );
  DaoContext_PutInteger( _ctx, (int) _get_key );
}
/* Fl.H */
static void dao_Fl_get_mouse( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int _cp1= (int) _p[1]->v.i;
  Fl::get_mouse( _cp0, _cp1 );
  _p[0]->v.i = (int) _cp0;
  _p[1]->v.i = (int) _cp1;
}
/* Fl.H */
static void dao_Fl_get_system_colors( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl::get_system_colors(  );
}
/* Fl.H */
static void dao_Fl_gl_visual( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int alist= (int) _p[1]->v.i;
  int _gl_visual = Fl::gl_visual( _cp0, & alist );
  _p[1]->v.i = (int) alist;
  DaoContext_PutInteger( _ctx, (int) _gl_visual );
}
/* Fl.H */
static void dao_Fl_grab( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* _grab = Fl::grab(  );
  DaoContext_WrapCData( _ctx, (void*) _grab, dao_Fl_Window_Typer );
}
/* Fl.H */
static void dao_Fl_grab_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* win= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  Fl::grab( *win );
}
/* Fl.H */
static void dao_Fl_grab_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* _cp0= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  Fl::grab( _cp0 );
}
/* Fl.H */
static void dao_Fl_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _h = Fl::h(  );
  DaoContext_PutInteger( _ctx, (int) _h );
}
/* Fl.H */
static void dao_Fl_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  Fl_Window* _cp1= (Fl_Window*) DValue_CastCData( _p[1], dao_Fl_Window_Typer );
  int _handle = Fl::handle( _cp0, _cp1 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl.H */
static void dao_Fl_lock( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl::lock(  );
}
/* Fl.H */
static void dao_Fl_modal( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* _modal = Fl::modal(  );
  DaoContext_WrapCData( _ctx, (void*) _modal, dao_Fl_Window_Typer );
}
/* Fl.H */
static void dao_Fl_next_window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Window* _cp0= (Fl_Window*) DValue_CastCData( _p[0], dao_Fl_Window_Typer );
  Fl_Window* _next_window = Fl::next_window( _cp0 );
  DaoContext_WrapCData( _ctx, (void*) _next_window, dao_Fl_Window_Typer );
}
/* Fl.H */
static void dao_Fl_own_colormap( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl::own_colormap(  );
}
/* Fl.H */
static void dao_Fl_paste_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* receiver= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl::paste( *receiver );
}
/* Fl.H */
static void dao_Fl_paste( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* receiver= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int clipboard= (int) _p[1]->v.i;
  Fl::paste( *receiver, clipboard );
}
/* Fl.H */
static void dao_Fl_pushed( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* _pushed = Fl::pushed(  );
  DaoContext_WrapCData( _ctx, (void*) _pushed, dao_Fl_Widget_Typer );
}
/* Fl.H */
static void dao_Fl_pushed_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl::pushed( _cp0 );
}
/* Fl.H */
static void dao_Fl_readqueue( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* _readqueue = Fl::readqueue(  );
  DaoContext_WrapCData( _ctx, (void*) _readqueue, dao_Fl_Widget_Typer );
}
/* Fl.H */
static void dao_Fl_ready( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _ready = Fl::ready(  );
  DaoContext_PutInteger( _ctx, (int) _ready );
}
/* Fl.H */
static void dao_Fl_redraw( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl::redraw(  );
}
/* Fl.H */
static void dao_Fl_release( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl::release(  );
}
/* Fl.H */
static void dao_Fl_reload_scheme( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _reload_scheme = Fl::reload_scheme(  );
  DaoContext_PutInteger( _ctx, (int) _reload_scheme );
}
/* Fl.H */
static void dao_Fl_remove_fd_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  Fl::remove_fd( _cp0 );
}
/* Fl.H */
static void dao_Fl_remove_fd( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int when= (int) _p[1]->v.i;
  Fl::remove_fd( _cp0, when );
}
/* Fl.H */
static void dao_Fl_run( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _run = Fl::run(  );
  DaoContext_PutInteger( _ctx, (int) _run );
}
/* Fl.H */
static void dao_Fl_scheme_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  const char* _scheme = Fl::scheme(  );
  DaoContext_PutMBString( _ctx, (char*) _scheme );
}
/* Fl.H */
static void dao_Fl_scheme( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* _cp0= (char*) DValue_GetMBString( _p[0] );
  int _scheme = Fl::scheme( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _scheme );
}
/* Fl.H */
static void dao_Fl_screen_count( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _screen_count = Fl::screen_count(  );
  DaoContext_PutInteger( _ctx, (int) _screen_count );
}
/* Fl.H */
static void dao_Fl_screen_xywh( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  Fl::screen_xywh( X, Y, W, H );
  _p[0]->v.i = (int) X;
  _p[1]->v.i = (int) Y;
  _p[2]->v.i = (int) W;
  _p[3]->v.i = (int) H;
}
/* Fl.H */
static void dao_Fl_screen_xywh_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  int n= (int) _p[4]->v.i;
  Fl::screen_xywh( X, Y, W, H, n );
  _p[0]->v.i = (int) X;
  _p[1]->v.i = (int) Y;
  _p[2]->v.i = (int) W;
  _p[3]->v.i = (int) H;
}
/* Fl.H */
static void dao_Fl_screen_xywh_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  int mx= (int) _p[4]->v.i;
  int my= (int) _p[5]->v.i;
  Fl::screen_xywh( X, Y, W, H, mx, my );
  _p[0]->v.i = (int) X;
  _p[1]->v.i = (int) Y;
  _p[2]->v.i = (int) W;
  _p[3]->v.i = (int) H;
}
/* Fl.H */
static void dao_Fl_scrollbar_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _scrollbar_size = Fl::scrollbar_size(  );
  DaoContext_PutInteger( _ctx, (int) _scrollbar_size );
}
/* Fl.H */
static void dao_Fl_scrollbar_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int W= (int) _p[0]->v.i;
  Fl::scrollbar_size( W );
}
/* Fl.H */
static void dao_Fl_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* owner= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  char* _cp1= (char*) DValue_GetMBString( _p[1] );
  int len= (int) _p[2]->v.i;
  Fl::selection( *owner, _cp1, len );
}
/* Fl.H */
static void dao_Fl_selection_owner( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* _selection_owner = Fl::selection_owner(  );
  DaoContext_WrapCData( _ctx, (void*) _selection_owner, dao_Fl_Widget_Typer );
}
/* Fl.H */
static void dao_Fl_selection_owner_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl::selection_owner( _cp0 );
}
/* Fl.H */
static void dao_Fl_set_boxtype_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Boxtype _cp0= (Fl_Boxtype) _p[0]->v.i;
  Fl_Boxtype from= (Fl_Boxtype) _p[1]->v.i;
  Fl::set_boxtype( _cp0, from );
}
/* Fl.H */
static void dao_Fl_set_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color _cp0= (Fl_Color) _p[0]->v.i;
  uchar _cp1= (uchar) _p[1]->v.i;
  uchar _cp2= (uchar) _p[2]->v.i;
  uchar _cp3= (uchar) _p[3]->v.i;
  Fl::set_color( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl.H */
static void dao_Fl_set_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color _cp0= (Fl_Color) _p[0]->v.i;
  unsigned _cp1= (unsigned) _p[1]->v.i;
  Fl::set_color( _cp0, _cp1 );
}
/* Fl.H */
static void dao_Fl_set_font_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Font _cp0= (Fl_Font) _p[0]->v.i;
  Fl_Font _cp1= (Fl_Font) _p[1]->v.i;
  Fl::set_font( _cp0, _cp1 );
}
/* Fl.H */
static void dao_Fl_set_font( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Font _cp0= (Fl_Font) _p[0]->v.i;
  char* _cp1= (char*) DValue_GetMBString( _p[1] );
  Fl::set_font( _cp0, _cp1 );
}
/* Fl.H */
static void dao_Fl_set_fonts( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* _cp0= (char*) DValue_GetMBString( _p[0] );
  Fl_Font _set_fonts = Fl::set_fonts( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _set_fonts );
}
/* Fl.H */
static void dao_Fl_test_shortcut( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Shortcut _cp0= (Fl_Shortcut) _p[0]->v.i;
  int _test_shortcut = Fl::test_shortcut( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _test_shortcut );
}
/* Fl.H */
static void dao_Fl_thread_message( DaoContext *_ctx, DValue *_p[], int _n )
{
  void* _thread_message = Fl::thread_message(  );
  DaoContext_PutCPointer( _ctx, (void*) _thread_message, 0 );
}
/* Fl.H */
static void dao_Fl_unlock( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl::unlock(  );
}
/* Fl.H */
static void dao_Fl_version( DaoContext *_ctx, DValue *_p[], int _n )
{
  double _version = Fl::version(  );
  DaoContext_PutDouble( _ctx, (double) _version );
}
/* Fl.H */
static void dao_Fl_visible_focus_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _visible_focus = Fl::visible_focus(  );
  DaoContext_PutInteger( _ctx, (int) _visible_focus );
}
/* Fl.H */
static void dao_Fl_visible_focus( DaoContext *_ctx, DValue *_p[], int _n )
{
  int v= (int) _p[0]->v.i;
  Fl::visible_focus( v );
}
/* Fl.H */
static void dao_Fl_visual( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int _visual = Fl::visual( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _visual );
}
/* Fl.H */
static void dao_Fl_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _w = Fl::w(  );
  DaoContext_PutInteger( _ctx, (int) _w );
}
/* Fl.H */
static void dao_Fl_wait( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _wait = Fl::wait(  );
  DaoContext_PutInteger( _ctx, (int) _wait );
}
/* Fl.H */
static void dao_Fl_wait_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  double time= (double) _p[0]->v.d;
  double _wait = Fl::wait( time );
  DaoContext_PutDouble( _ctx, (double) _wait );
}
/* Fl.H */
static void dao_Fl_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _x = Fl::x(  );
  DaoContext_PutInteger( _ctx, (int) _x );
}
/* Fl.H */
static void dao_Fl_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _y = Fl::y(  );
  DaoContext_PutInteger( _ctx, (int) _y );
}

/*  Fl_Device.H */


static DaoNumItem dao_Fl_Device_Nums[] =
{
  { "xlib_display", DAO_INTEGER, Fl_Device::xlib_display },
  { "quartz_display", DAO_INTEGER, Fl_Device::quartz_display },
  { "gdi_display", DAO_INTEGER, Fl_Device::gdi_display },
  { "gdi_printer", DAO_INTEGER, Fl_Device::gdi_printer },
  { "quartz_printer", DAO_INTEGER, Fl_Device::quartz_printer },
  { "postscript_device", DAO_INTEGER, Fl_Device::postscript_device },
  { NULL, 0, 0 }
};
static void dao_Fl_Device_Fl_Device( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_arc( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_arc_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_begin_complex_polygon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_begin_line( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_begin_loop( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_begin_points( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_begin_polygon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_circle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_clip_box( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_current( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_curve( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_display_device( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_draw_dao_5( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_draw_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_draw_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_draw_image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_draw_image_mono( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_end_complex_polygon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_end_line( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_end_loop( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_end_points( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_end_polygon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_font( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_gap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_line( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_line_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_line_style( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_loop( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_loop_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_not_clipped( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_pie( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_point( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_polygon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_polygon_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_pop_clip( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_push_clip( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_push_no_clip( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_rect( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_rectf( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_set_current__Fl_Device( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_set_current( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_transformed_vertex( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_vertex( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_xyline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_xyline_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_xyline_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_yxline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_yxline_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_yxline_dao_3( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Device_Meths[] = 
{
  { dao_Fl_Device_Fl_Device, "Fl_Device(  )=>Fl_Device" },
  { dao_Fl_Device_arc, "arc( self : Fl_Device, x : double, y : double, r : double, start : double, a : double )" },
  { dao_Fl_Device_arc_dao_2, "arc( self : Fl_Device, x : int, y : int, w : int, h : int, a1 : double, a2 : double )" },
  { dao_Fl_Device_begin_complex_polygon, "begin_complex_polygon( self : Fl_Device )" },
  { dao_Fl_Device_begin_line, "begin_line( self : Fl_Device )" },
  { dao_Fl_Device_begin_loop, "begin_loop( self : Fl_Device )" },
  { dao_Fl_Device_begin_points, "begin_points( self : Fl_Device )" },
  { dao_Fl_Device_begin_polygon, "begin_polygon( self : Fl_Device )" },
  { dao_Fl_Device_circle, "circle( self : Fl_Device, x : double, y : double, r : double )" },
  { dao_Fl_Device_clip_box, "clip_box( self : Fl_Device, x : int, y : int, w : int, h : int, X : int, Y : int, W : int, H : int )=>int" },
  { dao_Fl_Device_color, "color( self : Fl_Device, c : int )" },
  { dao_Fl_Device_color_dao_2, "color( self : Fl_Device, r : int, g : int, b : int )" },
  { dao_Fl_Device_current, "current(  )=>Fl_Device" },
  { dao_Fl_Device_curve, "curve( self : Fl_Device, x : double, y : double, x1 : double, y1 : double, x2 : double, y2 : double, x3 : double, y3 : double )" },
  { dao_Fl_Device_display_device, "display_device(  )=>Fl_Display" },
  { dao_Fl_Device_draw_dao_5, "draw( self : Fl_Device, bmp : Fl_Bitmap, XP : int, YP : int, WP : int, HP : int, cx : int, cy : int )" },
  { dao_Fl_Device_draw_dao_3, "draw( self : Fl_Device, pxm : Fl_Pixmap, XP : int, YP : int, WP : int, HP : int, cx : int, cy : int )" },
  { dao_Fl_Device_draw_dao_4, "draw( self : Fl_Device, rgb : Fl_RGB_Image, XP : int, YP : int, WP : int, HP : int, cx : int, cy : int )" },
  { dao_Fl_Device_draw, "draw( self : Fl_Device, str : string, n : int, x : int, y : int )" },
  { dao_Fl_Device_draw_dao_2, "draw( self : Fl_Device, angle : int, str : string, n : int, x : int, y : int )" },
  { dao_Fl_Device_draw_image, "draw_image( self : Fl_Device, _cp0 : string, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : int, delta : int=3, ldelta : int=0 )" },
  { dao_Fl_Device_draw_image_mono, "draw_image_mono( self : Fl_Device, _cp0 : string, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : int, delta : int=1, ld : int=0 )" },
  { dao_Fl_Device_end_complex_polygon, "end_complex_polygon( self : Fl_Device )" },
  { dao_Fl_Device_end_line, "end_line( self : Fl_Device )" },
  { dao_Fl_Device_end_loop, "end_loop( self : Fl_Device )" },
  { dao_Fl_Device_end_points, "end_points( self : Fl_Device )" },
  { dao_Fl_Device_end_polygon, "end_polygon( self : Fl_Device )" },
  { dao_Fl_Device_font, "font( self : Fl_Device, face : int, size : int )" },
  { dao_Fl_Device_gap, "gap( self : Fl_Device )" },
  { dao_Fl_Device_line, "line( self : Fl_Device, x : int, y : int, x1 : int, y1 : int )" },
  { dao_Fl_Device_line_dao_2, "line( self : Fl_Device, x : int, y : int, x1 : int, y1 : int, x2 : int, y2 : int )" },
  { dao_Fl_Device_line_style, "line_style( self : Fl_Device, style : int, width : int=0, dashes : string|null=null )" },
  { dao_Fl_Device_loop, "loop( self : Fl_Device, x0 : int, y0 : int, x1 : int, y1 : int, x2 : int, y2 : int )" },
  { dao_Fl_Device_loop_dao_2, "loop( self : Fl_Device, x0 : int, y0 : int, x1 : int, y1 : int, x2 : int, y2 : int, x3 : int, y3 : int )" },
  { dao_Fl_Device_not_clipped, "not_clipped( self : Fl_Device, x : int, y : int, w : int, h : int )=>int" },
  { dao_Fl_Device_pie, "pie( self : Fl_Device, x : int, y : int, w : int, h : int, a1 : double, a2 : double )" },
  { dao_Fl_Device_point, "point( self : Fl_Device, x : int, y : int )" },
  { dao_Fl_Device_polygon, "polygon( self : Fl_Device, x0 : int, y0 : int, x1 : int, y1 : int, x2 : int, y2 : int )" },
  { dao_Fl_Device_polygon_dao_2, "polygon( self : Fl_Device, x0 : int, y0 : int, x1 : int, y1 : int, x2 : int, y2 : int, x3 : int, y3 : int )" },
  { dao_Fl_Device_pop_clip, "pop_clip( self : Fl_Device )" },
  { dao_Fl_Device_push_clip, "push_clip( self : Fl_Device, x : int, y : int, w : int, h : int )" },
  { dao_Fl_Device_push_no_clip, "push_no_clip( self : Fl_Device )" },
  { dao_Fl_Device_rect, "rect( self : Fl_Device, x : int, y : int, w : int, h : int )" },
  { dao_Fl_Device_rectf, "rectf( self : Fl_Device, x : int, y : int, w : int, h : int )" },
  { dao_Fl_Device_set_current, "set_current( self : Fl_Device )=>Fl_Device" },
  { dao_Fl_Device_transformed_vertex, "transformed_vertex( self : Fl_Device, x : double, y : double )" },
  { dao_Fl_Device_type, "type( self : Fl_Device )=>int" },
  { dao_Fl_Device_vertex, "vertex( self : Fl_Device, x : double, y : double )" },
  { dao_Fl_Device_xyline, "xyline( self : Fl_Device, x : int, y : int, x1 : int )" },
  { dao_Fl_Device_xyline_dao_2, "xyline( self : Fl_Device, x : int, y : int, x1 : int, y2 : int )" },
  { dao_Fl_Device_xyline_dao_3, "xyline( self : Fl_Device, x : int, y : int, x1 : int, y2 : int, x3 : int )" },
  { dao_Fl_Device_yxline, "yxline( self : Fl_Device, x : int, y : int, y1 : int )" },
  { dao_Fl_Device_yxline_dao_2, "yxline( self : Fl_Device, x : int, y : int, y1 : int, x2 : int )" },
  { dao_Fl_Device_yxline_dao_3, "yxline( self : Fl_Device, x : int, y : int, y1 : int, x2 : int, y3 : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Device_Delete( void *self )
{
	delete (Fl_Device*) self;
}

static DaoTypeBase Fl_Device_Typer = 
{ "Fl_Device", NULL, 
  dao_Fl_Device_Nums,
  dao_Fl_Device_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Device_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Device_Typer = & Fl_Device_Typer;
static void dao_Fl_Device_Fl_Device( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_Fl_Device *self = DaoCxx_Fl_Device_New();
	DaoContext_PutResult( _ctx, (DaoBase*) self->cdata );
}
/* Fl_Device.H */
static void dao_Fl_Device_arc( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  double x= (double) _p[1]->v.d;
  double y= (double) _p[2]->v.d;
  double r= (double) _p[3]->v.d;
  double start= (double) _p[4]->v.d;
  double a= (double) _p[5]->v.d;
  self->DaoWrap_arc( x, y, r, start, a );
}
/* Fl_Device.H */
static void dao_Fl_Device_arc_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  double a1= (double) _p[5]->v.d;
  double a2= (double) _p[6]->v.d;
  self->DaoWrap_arc( x, y, w, h, a1, a2 );
}
/* Fl_Device.H */
static void dao_Fl_Device_begin_complex_polygon( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_begin_complex_polygon(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_begin_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_begin_line(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_begin_loop( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_begin_loop(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_begin_points( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_begin_points(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_begin_polygon( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_begin_polygon(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_circle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  double x= (double) _p[1]->v.d;
  double y= (double) _p[2]->v.d;
  double r= (double) _p[3]->v.d;
  self->DaoWrap_circle( x, y, r );
}
/* Fl_Device.H */
static void dao_Fl_Device_clip_box( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  int X= (int) _p[5]->v.i;
  int Y= (int) _p[6]->v.i;
  int W= (int) _p[7]->v.i;
  int H= (int) _p[8]->v.i;
  int _clip_box = self->DaoWrap_clip_box( x, y, w, h, X, Y, W, H );
  _p[5]->v.i = (int) X;
  _p[6]->v.i = (int) Y;
  _p[7]->v.i = (int) W;
  _p[8]->v.i = (int) H;
  DaoContext_PutInteger( _ctx, (int) _clip_box );
}
/* Fl_Device.H */
static void dao_Fl_Device_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  self->DaoWrap_color( c );
}
/* Fl_Device.H */
static void dao_Fl_Device_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  uchar r= (uchar) _p[1]->v.i;
  uchar g= (uchar) _p[2]->v.i;
  uchar b= (uchar) _p[3]->v.i;
  self->DaoWrap_color( r, g, b );
}
/* Fl_Device.H */
static void dao_Fl_Device_current( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Device* _current = Fl_Device::current(  );
  DaoContext_WrapCData( _ctx, (void*) _current, dao_Fl_Device_Typer );
}
/* Fl_Device.H */
static void dao_Fl_Device_curve( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  double x= (double) _p[1]->v.d;
  double y= (double) _p[2]->v.d;
  double x1= (double) _p[3]->v.d;
  double y1= (double) _p[4]->v.d;
  double x2= (double) _p[5]->v.d;
  double y2= (double) _p[6]->v.d;
  double x3= (double) _p[7]->v.d;
  double y3= (double) _p[8]->v.d;
  self->DaoWrap_curve( x, y, x1, y1, x2, y2, x3, y3 );
}
/* Fl_Device.H */
static void dao_Fl_Device_display_device( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Display* _display_device = Fl_Device::display_device(  );
  DaoContext_WrapCData( _ctx, (void*) _display_device, dao_Fl_Display_Typer );
}
/* Fl_Device.H */
static void dao_Fl_Device_draw_dao_5( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  Fl_Bitmap* bmp= (Fl_Bitmap*) DValue_CastCData( _p[1], dao_Fl_Bitmap_Typer );
  int XP= (int) _p[2]->v.i;
  int YP= (int) _p[3]->v.i;
  int WP= (int) _p[4]->v.i;
  int HP= (int) _p[5]->v.i;
  int cx= (int) _p[6]->v.i;
  int cy= (int) _p[7]->v.i;
  self->DaoWrap_draw( bmp, XP, YP, WP, HP, cx, cy );
}
/* Fl_Device.H */
static void dao_Fl_Device_draw_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  Fl_Pixmap* pxm= (Fl_Pixmap*) DValue_CastCData( _p[1], dao_Fl_Pixmap_Typer );
  int XP= (int) _p[2]->v.i;
  int YP= (int) _p[3]->v.i;
  int WP= (int) _p[4]->v.i;
  int HP= (int) _p[5]->v.i;
  int cx= (int) _p[6]->v.i;
  int cy= (int) _p[7]->v.i;
  self->DaoWrap_draw( pxm, XP, YP, WP, HP, cx, cy );
}
/* Fl_Device.H */
static void dao_Fl_Device_draw_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  Fl_RGB_Image* rgb= (Fl_RGB_Image*) DValue_CastCData( _p[1], dao_Fl_RGB_Image_Typer );
  int XP= (int) _p[2]->v.i;
  int YP= (int) _p[3]->v.i;
  int WP= (int) _p[4]->v.i;
  int HP= (int) _p[5]->v.i;
  int cx= (int) _p[6]->v.i;
  int cy= (int) _p[7]->v.i;
  self->DaoWrap_draw( rgb, XP, YP, WP, HP, cx, cy );
}
/* Fl_Device.H */
static void dao_Fl_Device_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  char* str= (char*) DValue_GetMBString( _p[1] );
  int n= (int) _p[2]->v.i;
  int x= (int) _p[3]->v.i;
  int y= (int) _p[4]->v.i;
  self->DaoWrap_draw( str, n, x, y );
}
/* Fl_Device.H */
static void dao_Fl_Device_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int angle= (int) _p[1]->v.i;
  char* str= (char*) DValue_GetMBString( _p[2] );
  int n= (int) _p[3]->v.i;
  int x= (int) _p[4]->v.i;
  int y= (int) _p[5]->v.i;
  self->DaoWrap_draw( angle, str, n, x, y );
}
/* Fl_Device.H */
static void dao_Fl_Device_draw_image( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  uchar* _cp0= (uchar*) DValue_GetMBString( _p[1] );
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  int _cp4= (int) _p[5]->v.i;
  int delta= (int) _p[6]->v.i;
  int ldelta= (int) _p[7]->v.i;
  self->DaoWrap_draw_image( _cp0, _cp1, _cp2, _cp3, _cp4, delta, ldelta );
}
/* Fl_Device.H */
static void dao_Fl_Device_draw_image_mono( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  uchar* _cp0= (uchar*) DValue_GetMBString( _p[1] );
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  int _cp4= (int) _p[5]->v.i;
  int delta= (int) _p[6]->v.i;
  int ld= (int) _p[7]->v.i;
  self->DaoWrap_draw_image_mono( _cp0, _cp1, _cp2, _cp3, _cp4, delta, ld );
}
/* Fl_Device.H */
static void dao_Fl_Device_end_complex_polygon( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_end_complex_polygon(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_end_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_end_line(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_end_loop( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_end_loop(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_end_points( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_end_points(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_end_polygon( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_end_polygon(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_font( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  Fl_Font face= (Fl_Font) _p[1]->v.i;
  Fl_Fontsize size= (Fl_Fontsize) _p[2]->v.i;
  self->DaoWrap_font( face, size );
}
/* Fl_Device.H */
static void dao_Fl_Device_gap( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_gap(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y1= (int) _p[4]->v.i;
  self->DaoWrap_line( x, y, x1, y1 );
}
/* Fl_Device.H */
static void dao_Fl_Device_line_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y1= (int) _p[4]->v.i;
  int x2= (int) _p[5]->v.i;
  int y2= (int) _p[6]->v.i;
  self->DaoWrap_line( x, y, x1, y1, x2, y2 );
}
/* Fl_Device.H */
static void dao_Fl_Device_line_style( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int style= (int) _p[1]->v.i;
  int width= (int) _p[2]->v.i;
  char* dashes= (char*) DValue_GetMBString( _p[3] );
  self->DaoWrap_line_style( style, width, dashes );
  DString_SetMBS( _p[3]->v.s, (char*) dashes );
}
/* Fl_Device.H */
static void dao_Fl_Device_loop( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x0= (int) _p[1]->v.i;
  int y0= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y1= (int) _p[4]->v.i;
  int x2= (int) _p[5]->v.i;
  int y2= (int) _p[6]->v.i;
  self->DaoWrap_loop( x0, y0, x1, y1, x2, y2 );
}
/* Fl_Device.H */
static void dao_Fl_Device_loop_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x0= (int) _p[1]->v.i;
  int y0= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y1= (int) _p[4]->v.i;
  int x2= (int) _p[5]->v.i;
  int y2= (int) _p[6]->v.i;
  int x3= (int) _p[7]->v.i;
  int y3= (int) _p[8]->v.i;
  self->DaoWrap_loop( x0, y0, x1, y1, x2, y2, x3, y3 );
}
/* Fl_Device.H */
static void dao_Fl_Device_not_clipped( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  int _not_clipped = self->DaoWrap_not_clipped( x, y, w, h );
  DaoContext_PutInteger( _ctx, (int) _not_clipped );
}
/* Fl_Device.H */
static void dao_Fl_Device_pie( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  double a1= (double) _p[5]->v.d;
  double a2= (double) _p[6]->v.d;
  self->DaoWrap_pie( x, y, w, h, a1, a2 );
}
/* Fl_Device.H */
static void dao_Fl_Device_point( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  self->DaoWrap_point( x, y );
}
/* Fl_Device.H */
static void dao_Fl_Device_polygon( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x0= (int) _p[1]->v.i;
  int y0= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y1= (int) _p[4]->v.i;
  int x2= (int) _p[5]->v.i;
  int y2= (int) _p[6]->v.i;
  self->DaoWrap_polygon( x0, y0, x1, y1, x2, y2 );
}
/* Fl_Device.H */
static void dao_Fl_Device_polygon_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x0= (int) _p[1]->v.i;
  int y0= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y1= (int) _p[4]->v.i;
  int x2= (int) _p[5]->v.i;
  int y2= (int) _p[6]->v.i;
  int x3= (int) _p[7]->v.i;
  int y3= (int) _p[8]->v.i;
  self->DaoWrap_polygon( x0, y0, x1, y1, x2, y2, x3, y3 );
}
/* Fl_Device.H */
static void dao_Fl_Device_pop_clip( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_pop_clip(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_push_clip( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  self->DaoWrap_push_clip( x, y, w, h );
}
/* Fl_Device.H */
static void dao_Fl_Device_push_no_clip( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  self->DaoWrap_push_no_clip(  );
}
/* Fl_Device.H */
static void dao_Fl_Device_rect( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  self->DaoWrap_rect( x, y, w, h );
}
/* Fl_Device.H */
static void dao_Fl_Device_rectf( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  self->DaoWrap_rectf( x, y, w, h );
}
/* Fl_Device.H */
static void dao_Fl_Device_set_current__Fl_Device( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Device* self= (Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  Fl_Device* _set_current = self->Fl_Device::set_current(  );
  DaoContext_WrapCData( _ctx, (void*) _set_current, dao_Fl_Device_Typer );
}
/* Fl_Device.H */
static void dao_Fl_Device_set_current( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Device_set_current__Fl_Device( _ctx, _p, _n );
    return;
  }
  Fl_Device* self= (Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  Fl_Device* _set_current = self->set_current(  );
  DaoContext_WrapCData( _ctx, (void*) _set_current, dao_Fl_Device_Typer );
}
/* Fl_Device.H */
static void dao_Fl_Device_transformed_vertex( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  double x= (double) _p[1]->v.d;
  double y= (double) _p[2]->v.d;
  self->DaoWrap_transformed_vertex( x, y );
}
/* Fl_Device.H */
static void dao_Fl_Device_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Device* self= (Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int _type = self->Fl_Device::type(  );
  DaoContext_PutInteger( _ctx, (int) _type );
}
/* Fl_Device.H */
static void dao_Fl_Device_vertex( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  double x= (double) _p[1]->v.d;
  double y= (double) _p[2]->v.d;
  self->DaoWrap_vertex( x, y );
}
/* Fl_Device.H */
static void dao_Fl_Device_xyline( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  self->DaoWrap_xyline( x, y, x1 );
}
/* Fl_Device.H */
static void dao_Fl_Device_xyline_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y2= (int) _p[4]->v.i;
  self->DaoWrap_xyline( x, y, x1, y2 );
}
/* Fl_Device.H */
static void dao_Fl_Device_xyline_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y2= (int) _p[4]->v.i;
  int x3= (int) _p[5]->v.i;
  self->DaoWrap_xyline( x, y, x1, y2, x3 );
}
/* Fl_Device.H */
static void dao_Fl_Device_yxline( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int y1= (int) _p[3]->v.i;
  self->DaoWrap_yxline( x, y, y1 );
}
/* Fl_Device.H */
static void dao_Fl_Device_yxline_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int y1= (int) _p[3]->v.i;
  int x2= (int) _p[4]->v.i;
  self->DaoWrap_yxline( x, y, y1, x2 );
}
/* Fl_Device.H */
static void dao_Fl_Device_yxline_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Device *self = (DaoCxx_Fl_Device*) DValue_CastCData( _p[0], dao_Fl_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int y1= (int) _p[3]->v.i;
  int x2= (int) _p[4]->v.i;
  int y3= (int) _p[5]->v.i;
  self->DaoWrap_yxline( x, y, y1, x2, y3 );
}

/*  Fl_Printer.H */


static DaoNumItem dao_Fl_Abstract_Printer_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Abstract_Printer_Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_delete_image_list( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_end_job__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_end_job( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_end_page__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_end_page( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_margins__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_margins( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_origin_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_origin__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_origin( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_print_widget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_print_window_part( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_printable_rect__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_printable_rect( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_rotate__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_rotate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_scale__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_scale( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_set_current( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_start_job__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_start_job( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_start_page__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_start_page( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_translate__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_translate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_untranslate__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Abstract_Printer_untranslate( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Abstract_Printer_Meths[] = 
{
  { dao_Fl_Abstract_Printer_Fl_Abstract_Printer, "Fl_Abstract_Printer(  )=>Fl_Abstract_Printer" },
  { dao_Fl_Abstract_Printer_delete_image_list, "delete_image_list( self : Fl_Abstract_Printer )" },
  { dao_Fl_Abstract_Printer_end_job, "end_job( self : Fl_Abstract_Printer )" },
  { dao_Fl_Abstract_Printer_end_page, "end_page( self : Fl_Abstract_Printer )=>int" },
  { dao_Fl_Abstract_Printer_margins, "margins( self : Fl_Abstract_Printer, left : int, top : int, right : int, bottom : int )" },
  { dao_Fl_Abstract_Printer_origin_dao_2, "origin( self : Fl_Abstract_Printer, x : int, y : int )" },
  { dao_Fl_Abstract_Printer_origin, "origin( self : Fl_Abstract_Printer, x : int, y : int )" },
  { dao_Fl_Abstract_Printer_print_widget, "print_widget( self : Fl_Abstract_Printer, widget : Fl_Widget, delta_x : int = 0, delta_y : int = 0 )" },
  { dao_Fl_Abstract_Printer_print_window_part, "print_window_part( self : Fl_Abstract_Printer, win : Fl_Window, x : int, y : int, w : int, h : int, delta_x : int = 0, delta_y : int = 0 )" },
  { dao_Fl_Abstract_Printer_printable_rect, "printable_rect( self : Fl_Abstract_Printer, w : int, h : int )=>int" },
  { dao_Fl_Abstract_Printer_rotate, "rotate( self : Fl_Abstract_Printer, angle : float )" },
  { dao_Fl_Abstract_Printer_scale, "scale( self : Fl_Abstract_Printer, scale_x : float, scale_y : float )" },
  { dao_Fl_Abstract_Printer_set_current, "set_current( self : Fl_Abstract_Printer )=>Fl_Device" },
  { dao_Fl_Abstract_Printer_start_job, "start_job( self : Fl_Abstract_Printer, pagecount : int, frompage : int|null=null, topage : int|null=null )=>int" },
  { dao_Fl_Abstract_Printer_start_page, "start_page( self : Fl_Abstract_Printer )=>int" },
  { dao_Fl_Abstract_Printer_translate, "translate( self : Fl_Abstract_Printer, x : int, y : int )" },
  { dao_Fl_Abstract_Printer_untranslate, "untranslate( self : Fl_Abstract_Printer )" },
  { NULL, NULL }
};
static void Dao_Fl_Abstract_Printer_Delete( void *self )
{
	delete (Fl_Abstract_Printer*) self;
}
void* dao_cast_Fl_Abstract_Printer_to_Fl_Device( void *data )
{
	return (Fl_Device*)(Fl_Abstract_Printer*)data;
}

static DaoTypeBase Fl_Abstract_Printer_Typer = 
{ "Fl_Abstract_Printer", NULL, 
  dao_Fl_Abstract_Printer_Nums,
  dao_Fl_Abstract_Printer_Meths, 
  { dao_Fl_Device_Typer, 0 },
  { dao_cast_Fl_Abstract_Printer_to_Fl_Device,0 },
  Dao_Fl_Abstract_Printer_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Abstract_Printer_Typer = & Fl_Abstract_Printer_Typer;
static void dao_Fl_Abstract_Printer_Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_Fl_Abstract_Printer *self = DaoCxx_Fl_Abstract_Printer_New();
	DaoContext_PutResult( _ctx, (DaoBase*) self->cdata );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_delete_image_list( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Abstract_Printer *self = (DaoCxx_Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  self->DaoWrap_delete_image_list(  );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_end_job__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  self->Fl_Abstract_Printer::end_job(  );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_end_job( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Abstract_Printer_end_job__Fl_Abstract_Printer( _ctx, _p, _n );
    return;
  }
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  self->end_job(  );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_end_page__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int _end_page = self->Fl_Abstract_Printer::end_page(  );
  DaoContext_PutInteger( _ctx, (int) _end_page );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_end_page( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Abstract_Printer_end_page__Fl_Abstract_Printer( _ctx, _p, _n );
    return;
  }
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int _end_page = self->end_page(  );
  DaoContext_PutInteger( _ctx, (int) _end_page );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_margins__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int left= (int) _p[1]->v.i;
  int top= (int) _p[2]->v.i;
  int right= (int) _p[3]->v.i;
  int bottom= (int) _p[4]->v.i;
  self->Fl_Abstract_Printer::margins( & left, & top, & right, & bottom );
  _p[1]->v.i = (int) left;
  _p[2]->v.i = (int) top;
  _p[3]->v.i = (int) right;
  _p[4]->v.i = (int) bottom;
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_margins( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Abstract_Printer_margins__Fl_Abstract_Printer( _ctx, _p, _n );
    return;
  }
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int left= (int) _p[1]->v.i;
  int top= (int) _p[2]->v.i;
  int right= (int) _p[3]->v.i;
  int bottom= (int) _p[4]->v.i;
  self->margins( & left, & top, & right, & bottom );
  _p[1]->v.i = (int) left;
  _p[2]->v.i = (int) top;
  _p[3]->v.i = (int) right;
  _p[4]->v.i = (int) bottom;
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_origin_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  self->Fl_Abstract_Printer::origin( & x, & y );
  _p[1]->v.i = (int) x;
  _p[2]->v.i = (int) y;
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_origin__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  self->Fl_Abstract_Printer::origin( x, y );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_origin( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Abstract_Printer_origin__Fl_Abstract_Printer( _ctx, _p, _n );
    return;
  }
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  self->origin( x, y );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_print_widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  Fl_Widget* widget= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int delta_x= (int) _p[2]->v.i;
  int delta_y= (int) _p[3]->v.i;
  self->Fl_Abstract_Printer::print_widget( widget, delta_x, delta_y );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_print_window_part( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  Fl_Window* win= (Fl_Window*) DValue_CastCData( _p[1], dao_Fl_Window_Typer );
  int x= (int) _p[2]->v.i;
  int y= (int) _p[3]->v.i;
  int w= (int) _p[4]->v.i;
  int h= (int) _p[5]->v.i;
  int delta_x= (int) _p[6]->v.i;
  int delta_y= (int) _p[7]->v.i;
  self->Fl_Abstract_Printer::print_window_part( win, x, y, w, h, delta_x, delta_y );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_printable_rect__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int w= (int) _p[1]->v.i;
  int h= (int) _p[2]->v.i;
  int _printable_rect = self->Fl_Abstract_Printer::printable_rect( & w, & h );
  _p[1]->v.i = (int) w;
  _p[2]->v.i = (int) h;
  DaoContext_PutInteger( _ctx, (int) _printable_rect );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_printable_rect( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Abstract_Printer_printable_rect__Fl_Abstract_Printer( _ctx, _p, _n );
    return;
  }
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int w= (int) _p[1]->v.i;
  int h= (int) _p[2]->v.i;
  int _printable_rect = self->printable_rect( & w, & h );
  _p[1]->v.i = (int) w;
  _p[2]->v.i = (int) h;
  DaoContext_PutInteger( _ctx, (int) _printable_rect );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_rotate__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  float angle= (float) _p[1]->v.f;
  self->Fl_Abstract_Printer::rotate( angle );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_rotate( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Abstract_Printer_rotate__Fl_Abstract_Printer( _ctx, _p, _n );
    return;
  }
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  float angle= (float) _p[1]->v.f;
  self->rotate( angle );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_scale__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  float scale_x= (float) _p[1]->v.f;
  float scale_y= (float) _p[2]->v.f;
  self->Fl_Abstract_Printer::scale( scale_x, scale_y );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_scale( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Abstract_Printer_scale__Fl_Abstract_Printer( _ctx, _p, _n );
    return;
  }
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  float scale_x= (float) _p[1]->v.f;
  float scale_y= (float) _p[2]->v.f;
  self->scale( scale_x, scale_y );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_set_current( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  Fl_Device* _set_current = self->Fl_Abstract_Printer::set_current(  );
  DaoContext_WrapCData( _ctx, (void*) _set_current, dao_Fl_Device_Typer );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_start_job__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int pagecount= (int) _p[1]->v.i;
  int frompage= (int) _p[2]->v.i;
  int topage= (int) _p[3]->v.i;
  int _start_job = self->Fl_Abstract_Printer::start_job( pagecount, & frompage, & topage );
  _p[2]->v.i = (int) frompage;
  _p[3]->v.i = (int) topage;
  DaoContext_PutInteger( _ctx, (int) _start_job );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_start_job( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Abstract_Printer_start_job__Fl_Abstract_Printer( _ctx, _p, _n );
    return;
  }
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int pagecount= (int) _p[1]->v.i;
  int frompage= (int) _p[2]->v.i;
  int topage= (int) _p[3]->v.i;
  int _start_job = self->start_job( pagecount, & frompage, & topage );
  _p[2]->v.i = (int) frompage;
  _p[3]->v.i = (int) topage;
  DaoContext_PutInteger( _ctx, (int) _start_job );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_start_page__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int _start_page = self->Fl_Abstract_Printer::start_page(  );
  DaoContext_PutInteger( _ctx, (int) _start_page );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_start_page( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Abstract_Printer_start_page__Fl_Abstract_Printer( _ctx, _p, _n );
    return;
  }
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int _start_page = self->start_page(  );
  DaoContext_PutInteger( _ctx, (int) _start_page );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_translate__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  self->Fl_Abstract_Printer::translate( x, y );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_translate( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Abstract_Printer_translate__Fl_Abstract_Printer( _ctx, _p, _n );
    return;
  }
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  self->translate( x, y );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_untranslate__Fl_Abstract_Printer( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  self->Fl_Abstract_Printer::untranslate(  );
}
/* Fl_Printer.H */
static void dao_Fl_Abstract_Printer_untranslate( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Abstract_Printer_untranslate__Fl_Abstract_Printer( _ctx, _p, _n );
    return;
  }
  Fl_Abstract_Printer* self= (Fl_Abstract_Printer*) DValue_CastCData( _p[0], dao_Fl_Abstract_Printer_Typer );
  self->untranslate(  );
}

/*  Fl_Printer.H */


static DaoNumItem dao_Fl_Abstract_Printer_chain_elt_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Abstract_Printer_chain_elt_Meths[] = 
{
  { NULL, NULL }
};

static DaoTypeBase Fl_Abstract_Printer_chain_elt_Typer = 
{ "Fl_Abstract_Printer_chain_elt", NULL, 
  dao_Fl_Abstract_Printer_chain_elt_Nums,
  dao_Fl_Abstract_Printer_chain_elt_Meths, 
  { 0 },
  { 0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Abstract_Printer_chain_elt_Typer = & Fl_Abstract_Printer_chain_elt_Typer;

/*  Fl_Valuator.H */


static DaoNumItem dao_Fl_Valuator_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Valuator_Fl_Valuator( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_bounds( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_clamp( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_format__Fl_Valuator( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_format( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_handle_drag( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_handle_push( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_handle_release( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_horizontal( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_increment( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_maximum( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_maximum_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_minimum( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_minimum_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_precision( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_previous_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_range( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_round( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_set_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_softclamp( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_step_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_step_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_step_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_step( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Valuator_value_damage( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Valuator_Meths[] = 
{
  { dao_Fl_Valuator_Fl_Valuator, "Fl_Valuator( X : int, Y : int, W : int, H : int, L : string )=>Fl_Valuator" },
  { dao_Fl_Valuator_bounds, "bounds( self : Fl_Valuator, a : double, b : double )" },
  { dao_Fl_Valuator_clamp, "clamp( self : Fl_Valuator, _cp0 : double )=>double" },
  { dao_Fl_Valuator_format, "format( self : Fl_Valuator, _cp0 : string )=>int" },
  { dao_Fl_Valuator_handle_drag, "handle_drag( self : Fl_Valuator, newvalue : double )" },
  { dao_Fl_Valuator_handle_push, "handle_push( self : Fl_Valuator )" },
  { dao_Fl_Valuator_handle_release, "handle_release( self : Fl_Valuator )" },
  { dao_Fl_Valuator_horizontal, "horizontal( self : Fl_Valuator )=>int" },
  { dao_Fl_Valuator_increment, "increment( self : Fl_Valuator, _cp0 : double, _cp1 : int )=>double" },
  { dao_Fl_Valuator_maximum, "maximum( self : Fl_Valuator )=>double" },
  { dao_Fl_Valuator_maximum_dao_2, "maximum( self : Fl_Valuator, a : double )" },
  { dao_Fl_Valuator_minimum, "minimum( self : Fl_Valuator )=>double" },
  { dao_Fl_Valuator_minimum_dao_2, "minimum( self : Fl_Valuator, a : double )" },
  { dao_Fl_Valuator_precision, "precision( self : Fl_Valuator, _cp0 : int )" },
  { dao_Fl_Valuator_previous_value, "previous_value( self : Fl_Valuator )=>double" },
  { dao_Fl_Valuator_range, "range( self : Fl_Valuator, a : double, b : double )" },
  { dao_Fl_Valuator_round, "round( self : Fl_Valuator, _cp0 : double )=>double" },
  { dao_Fl_Valuator_set_value, "set_value( self : Fl_Valuator, v : double )" },
  { dao_Fl_Valuator_softclamp, "softclamp( self : Fl_Valuator, _cp0 : double )=>double" },
  { dao_Fl_Valuator_step_dao_4, "step( self : Fl_Valuator )=>double" },
  { dao_Fl_Valuator_step_dao_3, "step( self : Fl_Valuator, s : double )" },
  { dao_Fl_Valuator_step_dao_2, "step( self : Fl_Valuator, a : double, b : int )" },
  { dao_Fl_Valuator_step, "step( self : Fl_Valuator, a : int )" },
  { dao_Fl_Valuator_value, "value( self : Fl_Valuator )=>double" },
  { dao_Fl_Valuator_value_dao_2, "value( self : Fl_Valuator, _cp0 : double )=>int" },
  { dao_Fl_Valuator_value_damage, "value_damage( self : Fl_Valuator )" },
  { NULL, NULL }
};
static void Dao_Fl_Valuator_Delete( void *self )
{
	delete (Fl_Valuator*) self;
}
void* dao_cast_Fl_Valuator_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_Valuator*)data;
}

static DaoTypeBase Fl_Valuator_Typer = 
{ "Fl_Valuator", NULL, 
  dao_Fl_Valuator_Nums,
  dao_Fl_Valuator_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_Valuator_to_Fl_Widget,0 },
  Dao_Fl_Valuator_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Valuator_Typer = & Fl_Valuator_Typer;
/* Fl_Valuator.H */
static void dao_Fl_Valuator_Fl_Valuator( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Valuator *_self = DaoCxx_Fl_Valuator_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_bounds( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double a= (double) _p[1]->v.d;
  double b= (double) _p[2]->v.d;
  self->Fl_Valuator::bounds( a, b );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_clamp( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double _cp0= (double) _p[1]->v.d;
  double _clamp = self->Fl_Valuator::clamp( _cp0 );
  DaoContext_PutDouble( _ctx, (double) _clamp );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_format__Fl_Valuator( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  char* _cp0= (char*) DValue_GetMBString( _p[1] );
  int _format = self->Fl_Valuator::format( _cp0 );
  DString_SetMBS( _p[1]->v.s, (char*) _cp0 );
  DaoContext_PutInteger( _ctx, (int) _format );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_format( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Valuator_format__Fl_Valuator( _ctx, _p, _n );
    return;
  }
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  char* _cp0= (char*) DValue_GetMBString( _p[1] );
  int _format = self->format( _cp0 );
  DString_SetMBS( _p[1]->v.s, (char*) _cp0 );
  DaoContext_PutInteger( _ctx, (int) _format );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_handle_drag( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Valuator *self = (DaoCxx_Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double newvalue= (double) _p[1]->v.d;
  self->DaoWrap_handle_drag( newvalue );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_handle_push( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Valuator *self = (DaoCxx_Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  self->DaoWrap_handle_push(  );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_handle_release( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Valuator *self = (DaoCxx_Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  self->DaoWrap_handle_release(  );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_horizontal( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Valuator *self = (DaoCxx_Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  int _horizontal = self->DaoWrap_horizontal(  );
  DaoContext_PutInteger( _ctx, (int) _horizontal );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_increment( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double _cp0= (double) _p[1]->v.d;
  int _cp1= (int) _p[2]->v.i;
  double _increment = self->Fl_Valuator::increment( _cp0, _cp1 );
  DaoContext_PutDouble( _ctx, (double) _increment );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_maximum( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double _maximum = self->Fl_Valuator::maximum(  );
  DaoContext_PutDouble( _ctx, (double) _maximum );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_maximum_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double a= (double) _p[1]->v.d;
  self->Fl_Valuator::maximum( a );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_minimum( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double _minimum = self->Fl_Valuator::minimum(  );
  DaoContext_PutDouble( _ctx, (double) _minimum );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_minimum_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double a= (double) _p[1]->v.d;
  self->Fl_Valuator::minimum( a );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_precision( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  int _cp0= (int) _p[1]->v.i;
  self->Fl_Valuator::precision( _cp0 );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_previous_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Valuator *self = (DaoCxx_Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double _previous_value = self->DaoWrap_previous_value(  );
  DaoContext_PutDouble( _ctx, (double) _previous_value );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_range( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double a= (double) _p[1]->v.d;
  double b= (double) _p[2]->v.d;
  self->Fl_Valuator::range( a, b );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_round( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double _cp0= (double) _p[1]->v.d;
  double _round = self->Fl_Valuator::round( _cp0 );
  DaoContext_PutDouble( _ctx, (double) _round );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_set_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Valuator *self = (DaoCxx_Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double v= (double) _p[1]->v.d;
  self->DaoWrap_set_value( v );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_softclamp( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Valuator *self = (DaoCxx_Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double _cp0= (double) _p[1]->v.d;
  double _softclamp = self->DaoWrap_softclamp( _cp0 );
  DaoContext_PutDouble( _ctx, (double) _softclamp );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_step_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double _step = self->Fl_Valuator::step(  );
  DaoContext_PutDouble( _ctx, (double) _step );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_step_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double s= (double) _p[1]->v.d;
  self->Fl_Valuator::step( s );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_step_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double a= (double) _p[1]->v.d;
  int b= (int) _p[2]->v.i;
  self->Fl_Valuator::step( a, b );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_step( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  int a= (int) _p[1]->v.i;
  self->Fl_Valuator::step( a );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double _value = self->Fl_Valuator::value(  );
  DaoContext_PutDouble( _ctx, (double) _value );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Valuator* self= (Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  double _cp0= (double) _p[1]->v.d;
  int _value = self->Fl_Valuator::value( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Valuator.H */
static void dao_Fl_Valuator_value_damage( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Valuator *self = (DaoCxx_Fl_Valuator*) DValue_CastCData( _p[0], dao_Fl_Valuator_Typer );
  self->DaoWrap_value_damage(  );
}

/*  Fl_Adjuster.H */


static DaoNumItem dao_Fl_Adjuster_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Adjuster_Fl_Adjuster( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Adjuster_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Adjuster_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Adjuster_soft_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Adjuster_soft( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Adjuster_value_damage( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Adjuster_Meths[] = 
{
  { dao_Fl_Adjuster_Fl_Adjuster, "Fl_Adjuster( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Adjuster" },
  { dao_Fl_Adjuster_draw, "draw( self : Fl_Adjuster )" },
  { dao_Fl_Adjuster_handle, "handle( self : Fl_Adjuster, _cp0 : int )=>int" },
  { dao_Fl_Adjuster_soft_dao_2, "soft( self : Fl_Adjuster )=>int" },
  { dao_Fl_Adjuster_soft, "soft( self : Fl_Adjuster, s : int )" },
  { dao_Fl_Adjuster_value_damage, "value_damage( self : Fl_Adjuster )" },
  { NULL, NULL }
};
static void Dao_Fl_Adjuster_Delete( void *self )
{
	delete (Fl_Adjuster*) self;
}
void* dao_cast_Fl_Adjuster_to_Fl_Valuator( void *data )
{
	return (Fl_Valuator*)(Fl_Adjuster*)data;
}

static DaoTypeBase Fl_Adjuster_Typer = 
{ "Fl_Adjuster", NULL, 
  dao_Fl_Adjuster_Nums,
  dao_Fl_Adjuster_Meths, 
  { dao_Fl_Valuator_Typer, 0 },
  { dao_cast_Fl_Adjuster_to_Fl_Valuator,0 },
  Dao_Fl_Adjuster_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Adjuster_Typer = & Fl_Adjuster_Typer;
/* Fl_Adjuster.H */
static void dao_Fl_Adjuster_Fl_Adjuster( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Adjuster *_self = DaoCxx_Fl_Adjuster_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Adjuster.H */
static void dao_Fl_Adjuster_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Adjuster *self = (DaoCxx_Fl_Adjuster*) DValue_CastCData( _p[0], dao_Fl_Adjuster_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Adjuster.H */
static void dao_Fl_Adjuster_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Adjuster *self = (DaoCxx_Fl_Adjuster*) DValue_CastCData( _p[0], dao_Fl_Adjuster_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->DaoWrap_handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Adjuster.H */
static void dao_Fl_Adjuster_soft_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Adjuster* self= (Fl_Adjuster*) DValue_CastCData( _p[0], dao_Fl_Adjuster_Typer );
  int _soft = self->Fl_Adjuster::soft(  );
  DaoContext_PutInteger( _ctx, (int) _soft );
}
/* Fl_Adjuster.H */
static void dao_Fl_Adjuster_soft( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Adjuster* self= (Fl_Adjuster*) DValue_CastCData( _p[0], dao_Fl_Adjuster_Typer );
  int s= (int) _p[1]->v.i;
  self->Fl_Adjuster::soft( s );
}
/* Fl_Adjuster.H */
static void dao_Fl_Adjuster_value_damage( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Adjuster *self = (DaoCxx_Fl_Adjuster*) DValue_CastCData( _p[0], dao_Fl_Adjuster_Typer );
  self->DaoWrap_value_damage(  );
}

/*  Fl_Image.H */


static DaoNumItem dao_Fl_Image_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Image_Fl_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_color_average__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_color_average( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_copy_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_copy__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_copy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_count( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_d_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_d( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_desaturate__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_desaturate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_draw__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_draw_empty( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_h_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_inactive( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_label_dao_2__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_label__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_ld_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_ld( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_uncache__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_uncache( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_w_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Image_w( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Image_Meths[] = 
{
  { dao_Fl_Image_Fl_Image, "Fl_Image( W : int, H : int, D : int )=>Fl_Image" },
  { dao_Fl_Image_color_average, "color_average( self : Fl_Image, c : int, i : float )" },
  { dao_Fl_Image_copy_dao_2, "copy( self : Fl_Image )=>Fl_Image" },
  { dao_Fl_Image_copy, "copy( self : Fl_Image, W : int, H : int )=>Fl_Image" },
  { dao_Fl_Image_count, "count( self : Fl_Image )=>int" },
  { dao_Fl_Image_d_dao_2, "d( self : Fl_Image )=>int" },
  { dao_Fl_Image_d, "d( self : Fl_Image, D : int )" },
  { dao_Fl_Image_desaturate, "desaturate( self : Fl_Image )" },
  { dao_Fl_Image_draw_dao_2, "draw( self : Fl_Image, X : int, Y : int )" },
  { dao_Fl_Image_draw, "draw( self : Fl_Image, X : int, Y : int, W : int, H : int, cx : int=0, cy : int=0 )" },
  { dao_Fl_Image_draw_empty, "draw_empty( self : Fl_Image, X : int, Y : int )" },
  { dao_Fl_Image_h_dao_2, "h( self : Fl_Image )=>int" },
  { dao_Fl_Image_h, "h( self : Fl_Image, H : int )" },
  { dao_Fl_Image_inactive, "inactive( self : Fl_Image )" },
  { dao_Fl_Image_label_dao_2, "label( self : Fl_Image, m : Fl_Menu_Item )" },
  { dao_Fl_Image_label, "label( self : Fl_Image, w : Fl_Widget )" },
  { dao_Fl_Image_ld_dao_2, "ld( self : Fl_Image )=>int" },
  { dao_Fl_Image_ld, "ld( self : Fl_Image, LD : int )" },
  { dao_Fl_Image_uncache, "uncache( self : Fl_Image )" },
  { dao_Fl_Image_w_dao_2, "w( self : Fl_Image )=>int" },
  { dao_Fl_Image_w, "w( self : Fl_Image, W : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Image_Delete( void *self )
{
	delete (Fl_Image*) self;
}

static DaoTypeBase Fl_Image_Typer = 
{ "Fl_Image", NULL, 
  dao_Fl_Image_Nums,
  dao_Fl_Image_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Image_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Image_Typer = & Fl_Image_Typer;
/* Fl_Image.H */
static void dao_Fl_Image_Fl_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  int W= (int) _p[0]->v.i;
  int H= (int) _p[1]->v.i;
  int D= (int) _p[2]->v.i;
	DaoCxx_Fl_Image *_self = DaoCxx_Fl_Image_New( W, H, D );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Image.H */
static void dao_Fl_Image_color_average__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  float i= (float) _p[2]->v.f;
  self->Fl_Image::color_average( c, i );
}
/* Fl_Image.H */
static void dao_Fl_Image_color_average( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Image_color_average__Fl_Image( _ctx, _p, _n );
    return;
  }
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  float i= (float) _p[2]->v.f;
  self->color_average( c, i );
}
/* Fl_Image.H */
static void dao_Fl_Image_copy_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  Fl_Image* _copy = self->Fl_Image::copy(  );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Image.H */
static void dao_Fl_Image_copy__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  Fl_Image* _copy = self->Fl_Image::copy( W, H );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Image.H */
static void dao_Fl_Image_copy( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Image_copy__Fl_Image( _ctx, _p, _n );
    return;
  }
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  Fl_Image* _copy = self->copy( W, H );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Image.H */
static void dao_Fl_Image_count( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int _count = self->Fl_Image::count(  );
  DaoContext_PutInteger( _ctx, (int) _count );
}
/* Fl_Image.H */
static void dao_Fl_Image_d_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int _d = self->Fl_Image::d(  );
  DaoContext_PutInteger( _ctx, (int) _d );
}
/* Fl_Image.H */
static void dao_Fl_Image_d( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Image *self = (DaoCxx_Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int D= (int) _p[1]->v.i;
  self->DaoWrap_d( D );
}
/* Fl_Image.H */
static void dao_Fl_Image_desaturate__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  self->Fl_Image::desaturate(  );
}
/* Fl_Image.H */
static void dao_Fl_Image_desaturate( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Image_desaturate__Fl_Image( _ctx, _p, _n );
    return;
  }
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  self->desaturate(  );
}
/* Fl_Image.H */
static void dao_Fl_Image_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  self->Fl_Image::draw( X, Y );
}
/* Fl_Image.H */
static void dao_Fl_Image_draw__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  int cx= (int) _p[5]->v.i;
  int cy= (int) _p[6]->v.i;
  self->Fl_Image::draw( X, Y, W, H, cx, cy );
}
/* Fl_Image.H */
static void dao_Fl_Image_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Image_draw__Fl_Image( _ctx, _p, _n );
    return;
  }
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  int cx= (int) _p[5]->v.i;
  int cy= (int) _p[6]->v.i;
  self->draw( X, Y, W, H, cx, cy );
}
/* Fl_Image.H */
static void dao_Fl_Image_draw_empty( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Image *self = (DaoCxx_Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  self->DaoWrap_draw_empty( X, Y );
}
/* Fl_Image.H */
static void dao_Fl_Image_h_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int _h = self->Fl_Image::h(  );
  DaoContext_PutInteger( _ctx, (int) _h );
}
/* Fl_Image.H */
static void dao_Fl_Image_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Image *self = (DaoCxx_Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int H= (int) _p[1]->v.i;
  self->DaoWrap_h( H );
}
/* Fl_Image.H */
static void dao_Fl_Image_inactive( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  self->Fl_Image::inactive(  );
}
/* Fl_Image.H */
static void dao_Fl_Image_label_dao_2__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  Fl_Menu_Item* m= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  self->Fl_Image::label( m );
}
/* Fl_Image.H */
static void dao_Fl_Image_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Image_label_dao_2__Fl_Image( _ctx, _p, _n );
    return;
  }
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  Fl_Menu_Item* m= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  self->label( m );
}
/* Fl_Image.H */
static void dao_Fl_Image_label__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Image::label( w );
}
/* Fl_Image.H */
static void dao_Fl_Image_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Image_label__Fl_Image( _ctx, _p, _n );
    return;
  }
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->label( w );
}
/* Fl_Image.H */
static void dao_Fl_Image_ld_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int _ld = self->Fl_Image::ld(  );
  DaoContext_PutInteger( _ctx, (int) _ld );
}
/* Fl_Image.H */
static void dao_Fl_Image_ld( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Image *self = (DaoCxx_Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int LD= (int) _p[1]->v.i;
  self->DaoWrap_ld( LD );
}
/* Fl_Image.H */
static void dao_Fl_Image_uncache__Fl_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  self->Fl_Image::uncache(  );
}
/* Fl_Image.H */
static void dao_Fl_Image_uncache( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Image_uncache__Fl_Image( _ctx, _p, _n );
    return;
  }
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  self->uncache(  );
}
/* Fl_Image.H */
static void dao_Fl_Image_w_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* self= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int _w = self->Fl_Image::w(  );
  DaoContext_PutInteger( _ctx, (int) _w );
}
/* Fl_Image.H */
static void dao_Fl_Image_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Image *self = (DaoCxx_Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int W= (int) _p[1]->v.i;
  self->DaoWrap_w( W );
}

/*  Fl_Image.H */


static void dao_Fl_RGB_Image_GETF_array( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_GETF_alloc_array( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_SETF_alloc_array( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_RGB_Image_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_RGB_Image_Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_color_average__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_color_average( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_copy_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_copy__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_copy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_desaturate__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_desaturate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_draw__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_label_dao_2__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_label__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_uncache__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_RGB_Image_uncache( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_RGB_Image_Meths[] = 
{
  { dao_Fl_RGB_Image_GETF_array, ".array( self : Fl_RGB_Image )=>string" },
  { dao_Fl_RGB_Image_GETF_alloc_array, ".alloc_array( self : Fl_RGB_Image )=>int" },
  { dao_Fl_RGB_Image_SETF_alloc_array, ".alloc_array=( self : Fl_RGB_Image, alloc_array : int )" },
  { dao_Fl_RGB_Image_Fl_RGB_Image, "Fl_RGB_Image( bits : string, W : int, H : int, D : int=3, LD : int=0 )=>Fl_RGB_Image" },
  { dao_Fl_RGB_Image_color_average, "color_average( self : Fl_RGB_Image, c : int, i : float )" },
  { dao_Fl_RGB_Image_copy_dao_2, "copy( self : Fl_RGB_Image )=>Fl_Image" },
  { dao_Fl_RGB_Image_copy, "copy( self : Fl_RGB_Image, W : int, H : int )=>Fl_Image" },
  { dao_Fl_RGB_Image_desaturate, "desaturate( self : Fl_RGB_Image )" },
  { dao_Fl_RGB_Image_draw_dao_2, "draw( self : Fl_RGB_Image, X : int, Y : int )" },
  { dao_Fl_RGB_Image_draw, "draw( self : Fl_RGB_Image, X : int, Y : int, W : int, H : int, cx : int=0, cy : int=0 )" },
  { dao_Fl_RGB_Image_label_dao_2, "label( self : Fl_RGB_Image, m : Fl_Menu_Item )" },
  { dao_Fl_RGB_Image_label, "label( self : Fl_RGB_Image, w : Fl_Widget )" },
  { dao_Fl_RGB_Image_uncache, "uncache( self : Fl_RGB_Image )" },
  { NULL, NULL }
};
static void Dao_Fl_RGB_Image_Delete( void *self )
{
	delete (Fl_RGB_Image*) self;
}
void* dao_cast_Fl_RGB_Image_to_Fl_Image( void *data )
{
	return (Fl_Image*)(Fl_RGB_Image*)data;
}

static DaoTypeBase Fl_RGB_Image_Typer = 
{ "Fl_RGB_Image", NULL, 
  dao_Fl_RGB_Image_Nums,
  dao_Fl_RGB_Image_Meths, 
  { dao_Fl_Image_Typer, 0 },
  { dao_cast_Fl_RGB_Image_to_Fl_Image,0 },
  Dao_Fl_RGB_Image_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_RGB_Image_Typer = & Fl_RGB_Image_Typer;
static void dao_Fl_RGB_Image_GETF_array( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_RGB_Image *self = (Fl_RGB_Image*)DValue_CastCData(_p[0],dao_Fl_RGB_Image_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->array );
}
static void dao_Fl_RGB_Image_GETF_alloc_array( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_RGB_Image *self = (Fl_RGB_Image*)DValue_CastCData(_p[0],dao_Fl_RGB_Image_Typer);
  DaoContext_PutInteger( _ctx, (int) self->alloc_array );
}
static void dao_Fl_RGB_Image_SETF_alloc_array( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_RGB_Image *self = (Fl_RGB_Image*)DValue_CastCData(_p[0],dao_Fl_RGB_Image_Typer);
  self->alloc_array = (int) _p[1]->v.i;
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  uchar* bits= (uchar*) DValue_GetMBString( _p[0] );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  int D= (int) _p[3]->v.i;
  int LD= (int) _p[4]->v.i;
	DaoCxx_Fl_RGB_Image *_self = DaoCxx_Fl_RGB_Image_New( bits, W, H, D, LD );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_color_average__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  float i= (float) _p[2]->v.f;
  self->Fl_RGB_Image::color_average( c, i );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_color_average( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_RGB_Image_color_average__Fl_RGB_Image( _ctx, _p, _n );
    return;
  }
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  float i= (float) _p[2]->v.f;
  self->color_average( c, i );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_copy_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  Fl_Image* _copy = self->Fl_RGB_Image::copy(  );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_copy__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  Fl_Image* _copy = self->Fl_RGB_Image::copy( W, H );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_copy( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_RGB_Image_copy__Fl_RGB_Image( _ctx, _p, _n );
    return;
  }
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  Fl_Image* _copy = self->copy( W, H );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_desaturate__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  self->Fl_RGB_Image::desaturate(  );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_desaturate( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_RGB_Image_desaturate__Fl_RGB_Image( _ctx, _p, _n );
    return;
  }
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  self->desaturate(  );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  self->Fl_RGB_Image::draw( X, Y );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_draw__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  int cx= (int) _p[5]->v.i;
  int cy= (int) _p[6]->v.i;
  self->Fl_RGB_Image::draw( X, Y, W, H, cx, cy );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_RGB_Image_draw__Fl_RGB_Image( _ctx, _p, _n );
    return;
  }
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  int cx= (int) _p[5]->v.i;
  int cy= (int) _p[6]->v.i;
  self->draw( X, Y, W, H, cx, cy );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_label_dao_2__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  Fl_Menu_Item* m= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  self->Fl_RGB_Image::label( m );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_RGB_Image_label_dao_2__Fl_RGB_Image( _ctx, _p, _n );
    return;
  }
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  Fl_Menu_Item* m= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  self->label( m );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_label__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_RGB_Image::label( w );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_RGB_Image_label__Fl_RGB_Image( _ctx, _p, _n );
    return;
  }
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->label( w );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_uncache__Fl_RGB_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  self->Fl_RGB_Image::uncache(  );
}
/* Fl_Image.H */
static void dao_Fl_RGB_Image_uncache( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_RGB_Image_uncache__Fl_RGB_Image( _ctx, _p, _n );
    return;
  }
  Fl_RGB_Image* self= (Fl_RGB_Image*) DValue_CastCData( _p[0], dao_Fl_RGB_Image_Typer );
  self->uncache(  );
}

/*  Fl_BMP_Image.H */


static DaoNumItem dao_Fl_BMP_Image_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_BMP_Image_Fl_BMP_Image( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_BMP_Image_Meths[] = 
{
  { dao_Fl_BMP_Image_Fl_BMP_Image, "Fl_BMP_Image( filename : string )=>Fl_BMP_Image" },
  { NULL, NULL }
};
static void Dao_Fl_BMP_Image_Delete( void *self )
{
	delete (Fl_BMP_Image*) self;
}
void* dao_cast_Fl_BMP_Image_to_Fl_RGB_Image( void *data )
{
	return (Fl_RGB_Image*)(Fl_BMP_Image*)data;
}

static DaoTypeBase Fl_BMP_Image_Typer = 
{ "Fl_BMP_Image", NULL, 
  dao_Fl_BMP_Image_Nums,
  dao_Fl_BMP_Image_Meths, 
  { dao_Fl_RGB_Image_Typer, 0 },
  { dao_cast_Fl_BMP_Image_to_Fl_RGB_Image,0 },
  Dao_Fl_BMP_Image_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_BMP_Image_Typer = & Fl_BMP_Image_Typer;
/* Fl_BMP_Image.H */
static void dao_Fl_BMP_Image_Fl_BMP_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* filename= (char*) DValue_GetMBString( _p[0] );
	DaoCxx_Fl_BMP_Image *_self = DaoCxx_Fl_BMP_Image_New( filename );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Bitmap.H */


static void dao_Fl_Bitmap_GETF_array( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_GETF_alloc_array( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_SETF_alloc_array( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Bitmap_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Bitmap_Fl_Bitmap_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_Fl_Bitmap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_copy_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_copy__Fl_Bitmap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_copy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_draw__Fl_Bitmap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_label_dao_2__Fl_Bitmap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_label__Fl_Bitmap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_uncache__Fl_Bitmap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Bitmap_uncache( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Bitmap_Meths[] = 
{
  { dao_Fl_Bitmap_GETF_array, ".array( self : Fl_Bitmap )=>string" },
  { dao_Fl_Bitmap_GETF_alloc_array, ".alloc_array( self : Fl_Bitmap )=>int" },
  { dao_Fl_Bitmap_SETF_alloc_array, ".alloc_array=( self : Fl_Bitmap, alloc_array : int )" },
  { dao_Fl_Bitmap_Fl_Bitmap_dao_2, "Fl_Bitmap( bits : string, W : int, H : int )=>Fl_Bitmap" },
  { dao_Fl_Bitmap_Fl_Bitmap, "Fl_Bitmap( bits : string, W : int, H : int )=>Fl_Bitmap" },
  { dao_Fl_Bitmap_copy_dao_2, "copy( self : Fl_Bitmap )=>Fl_Image" },
  { dao_Fl_Bitmap_copy, "copy( self : Fl_Bitmap, W : int, H : int )=>Fl_Image" },
  { dao_Fl_Bitmap_draw_dao_2, "draw( self : Fl_Bitmap, X : int, Y : int )" },
  { dao_Fl_Bitmap_draw, "draw( self : Fl_Bitmap, X : int, Y : int, W : int, H : int, cx : int=0, cy : int=0 )" },
  { dao_Fl_Bitmap_label_dao_2, "label( self : Fl_Bitmap, m : Fl_Menu_Item )" },
  { dao_Fl_Bitmap_label, "label( self : Fl_Bitmap, w : Fl_Widget )" },
  { dao_Fl_Bitmap_uncache, "uncache( self : Fl_Bitmap )" },
  { NULL, NULL }
};
static void Dao_Fl_Bitmap_Delete( void *self )
{
	delete (Fl_Bitmap*) self;
}
void* dao_cast_Fl_Bitmap_to_Fl_Image( void *data )
{
	return (Fl_Image*)(Fl_Bitmap*)data;
}

static DaoTypeBase Fl_Bitmap_Typer = 
{ "Fl_Bitmap", NULL, 
  dao_Fl_Bitmap_Nums,
  dao_Fl_Bitmap_Meths, 
  { dao_Fl_Image_Typer, 0 },
  { dao_cast_Fl_Bitmap_to_Fl_Image,0 },
  Dao_Fl_Bitmap_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Bitmap_Typer = & Fl_Bitmap_Typer;
static void dao_Fl_Bitmap_GETF_array( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Bitmap *self = (Fl_Bitmap*)DValue_CastCData(_p[0],dao_Fl_Bitmap_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->array );
}
static void dao_Fl_Bitmap_GETF_alloc_array( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Bitmap *self = (Fl_Bitmap*)DValue_CastCData(_p[0],dao_Fl_Bitmap_Typer);
  DaoContext_PutInteger( _ctx, (int) self->alloc_array );
}
static void dao_Fl_Bitmap_SETF_alloc_array( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Bitmap *self = (Fl_Bitmap*)DValue_CastCData(_p[0],dao_Fl_Bitmap_Typer);
  self->alloc_array = (int) _p[1]->v.i;
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_Fl_Bitmap_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* bits= (char*) DValue_GetMBString( _p[0] );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
	DaoCxx_Fl_Bitmap *_self = DaoCxx_Fl_Bitmap_New( bits, W, H );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_Fl_Bitmap( DaoContext *_ctx, DValue *_p[], int _n )
{
  uchar* bits= (uchar*) DValue_GetMBString( _p[0] );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
	DaoCxx_Fl_Bitmap *_self = DaoCxx_Fl_Bitmap_New( bits, W, H );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_copy_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Bitmap* self= (Fl_Bitmap*) DValue_CastCData( _p[0], dao_Fl_Bitmap_Typer );
  Fl_Image* _copy = self->Fl_Bitmap::copy(  );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_copy__Fl_Bitmap( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Bitmap* self= (Fl_Bitmap*) DValue_CastCData( _p[0], dao_Fl_Bitmap_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  Fl_Image* _copy = self->Fl_Bitmap::copy( W, H );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_copy( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Bitmap_copy__Fl_Bitmap( _ctx, _p, _n );
    return;
  }
  Fl_Bitmap* self= (Fl_Bitmap*) DValue_CastCData( _p[0], dao_Fl_Bitmap_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  Fl_Image* _copy = self->copy( W, H );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Bitmap* self= (Fl_Bitmap*) DValue_CastCData( _p[0], dao_Fl_Bitmap_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  self->Fl_Bitmap::draw( X, Y );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_draw__Fl_Bitmap( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Bitmap* self= (Fl_Bitmap*) DValue_CastCData( _p[0], dao_Fl_Bitmap_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  int cx= (int) _p[5]->v.i;
  int cy= (int) _p[6]->v.i;
  self->Fl_Bitmap::draw( X, Y, W, H, cx, cy );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Bitmap_draw__Fl_Bitmap( _ctx, _p, _n );
    return;
  }
  Fl_Bitmap* self= (Fl_Bitmap*) DValue_CastCData( _p[0], dao_Fl_Bitmap_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  int cx= (int) _p[5]->v.i;
  int cy= (int) _p[6]->v.i;
  self->draw( X, Y, W, H, cx, cy );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_label_dao_2__Fl_Bitmap( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Bitmap* self= (Fl_Bitmap*) DValue_CastCData( _p[0], dao_Fl_Bitmap_Typer );
  Fl_Menu_Item* m= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  self->Fl_Bitmap::label( m );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Bitmap_label_dao_2__Fl_Bitmap( _ctx, _p, _n );
    return;
  }
  Fl_Bitmap* self= (Fl_Bitmap*) DValue_CastCData( _p[0], dao_Fl_Bitmap_Typer );
  Fl_Menu_Item* m= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  self->label( m );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_label__Fl_Bitmap( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Bitmap* self= (Fl_Bitmap*) DValue_CastCData( _p[0], dao_Fl_Bitmap_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Bitmap::label( w );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Bitmap_label__Fl_Bitmap( _ctx, _p, _n );
    return;
  }
  Fl_Bitmap* self= (Fl_Bitmap*) DValue_CastCData( _p[0], dao_Fl_Bitmap_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->label( w );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_uncache__Fl_Bitmap( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Bitmap* self= (Fl_Bitmap*) DValue_CastCData( _p[0], dao_Fl_Bitmap_Typer );
  self->Fl_Bitmap::uncache(  );
}
/* Fl_Bitmap.H */
static void dao_Fl_Bitmap_uncache( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Bitmap_uncache__Fl_Bitmap( _ctx, _p, _n );
    return;
  }
  Fl_Bitmap* self= (Fl_Bitmap*) DValue_CastCData( _p[0], dao_Fl_Bitmap_Typer );
  self->uncache(  );
}

/*  Fl_Box.H */


static DaoNumItem dao_Fl_Box_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Box_Fl_Box_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Box_Fl_Box( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Box_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Box_handle__Fl_Box( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Box_handle( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Box_Meths[] = 
{
  { dao_Fl_Box_Fl_Box_dao_2, "Fl_Box( b : int, X : int, Y : int, W : int, H : int, l : string )=>Fl_Box" },
  { dao_Fl_Box_Fl_Box, "Fl_Box( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Box" },
  { dao_Fl_Box_draw, "draw( self : Fl_Box )" },
  { dao_Fl_Box_handle, "handle( self : Fl_Box, _cp0 : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Box_Delete( void *self )
{
	delete (Fl_Box*) self;
}
void* dao_cast_Fl_Box_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_Box*)data;
}

static DaoTypeBase Fl_Box_Typer = 
{ "Fl_Box", NULL, 
  dao_Fl_Box_Nums,
  dao_Fl_Box_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_Box_to_Fl_Widget,0 },
  Dao_Fl_Box_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Box_Typer = & Fl_Box_Typer;
/* Fl_Box.H */
static void dao_Fl_Box_Fl_Box_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Boxtype b= (Fl_Boxtype) _p[0]->v.i;
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  char* l= (char*) DValue_GetMBString( _p[5] );
	DaoCxx_Fl_Box *_self = DaoCxx_Fl_Box_New( b, X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Box.H */
static void dao_Fl_Box_Fl_Box( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Box *_self = DaoCxx_Fl_Box_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Box.H */
static void dao_Fl_Box_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Box *self = (DaoCxx_Fl_Box*) DValue_CastCData( _p[0], dao_Fl_Box_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Box.H */
static void dao_Fl_Box_handle__Fl_Box( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Box* self= (Fl_Box*) DValue_CastCData( _p[0], dao_Fl_Box_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Box::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Box.H */
static void dao_Fl_Box_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Box_handle__Fl_Box( _ctx, _p, _n );
    return;
  }
  Fl_Box* self= (Fl_Box*) DValue_CastCData( _p[0], dao_Fl_Box_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}

/*  Fl_Browser_.H */


static void dao_Fl_Browser__GETF_scrollbar( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__GETF_hscrollbar( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Browser__Nums[] =
{
  { "HORIZONTAL", DAO_INTEGER, Fl_Browser_::HORIZONTAL },
  { "VERTICAL", DAO_INTEGER, Fl_Browser_::VERTICAL },
  { "BOTH", DAO_INTEGER, Fl_Browser_::BOTH },
  { "ALWAYS_ON", DAO_INTEGER, Fl_Browser_::ALWAYS_ON },
  { "HORIZONTAL_ALWAYS", DAO_INTEGER, Fl_Browser_::HORIZONTAL_ALWAYS },
  { "VERTICAL_ALWAYS", DAO_INTEGER, Fl_Browser_::VERTICAL_ALWAYS },
  { "BOTH_ALWAYS", DAO_INTEGER, Fl_Browser_::BOTH_ALWAYS },
  { NULL, 0, 0 }
};
static void dao_Fl_Browser__Fl_Browser_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__bbox( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__deleting( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__deselect( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__display( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__displayed( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__find_item( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__full_height( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__full_width( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__has_scrollbar( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__has_scrollbar_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__hposition( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__hposition_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__incr_height( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__inserting( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__item_at( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__item_last( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__item_quick_height( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__item_select( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__item_selected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__item_swap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__item_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__leftedge( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__new_list( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__position_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__redraw_line( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__redraw_lines( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__replacing( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__scrollbar_left( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__scrollbar_right( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__scrollbar_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__scrollbar_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__scrollbar_width( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__scrollbar_width_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__select( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__select_only( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__sort( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__swapping( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__top( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Browser__Meths[] = 
{
  { dao_Fl_Browser__GETF_scrollbar, ".scrollbar( self : Fl_Browser_ )=>Fl_Scrollbar" },
  { dao_Fl_Browser__GETF_hscrollbar, ".hscrollbar( self : Fl_Browser_ )=>Fl_Scrollbar" },
  { dao_Fl_Browser__Fl_Browser_, "Fl_Browser_( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Browser_" },
  { dao_Fl_Browser__bbox, "bbox( self : Fl_Browser_, X : int, Y : int, W : int, H : int )" },
  { dao_Fl_Browser__deleting, "deleting( self : Fl_Browser_, item : cdata )" },
  { dao_Fl_Browser__deselect, "deselect( self : Fl_Browser_, docallbacks : int=0 )=>int" },
  { dao_Fl_Browser__display, "display( self : Fl_Browser_, item : cdata )" },
  { dao_Fl_Browser__displayed, "displayed( self : Fl_Browser_, item : cdata )=>int" },
  { dao_Fl_Browser__draw, "draw( self : Fl_Browser_ )" },
  { dao_Fl_Browser__find_item, "find_item( self : Fl_Browser_, ypos : int )=>cdata" },
  { dao_Fl_Browser__full_height, "full_height( self : Fl_Browser_ )=>int" },
  { dao_Fl_Browser__full_width, "full_width( self : Fl_Browser_ )=>int" },
  { dao_Fl_Browser__handle, "handle( self : Fl_Browser_, event : int )=>int" },
  { dao_Fl_Browser__has_scrollbar, "has_scrollbar( self : Fl_Browser_ )=>int" },
  { dao_Fl_Browser__has_scrollbar_dao_2, "has_scrollbar( self : Fl_Browser_, mode : int )" },
  { dao_Fl_Browser__hposition, "hposition( self : Fl_Browser_ )=>int" },
  { dao_Fl_Browser__hposition_dao_2, "hposition( self : Fl_Browser_, _cp0 : int )" },
  { dao_Fl_Browser__incr_height, "incr_height( self : Fl_Browser_ )=>int" },
  { dao_Fl_Browser__inserting, "inserting( self : Fl_Browser_, a : cdata, b : cdata )" },
  { dao_Fl_Browser__item_at, "item_at( self : Fl_Browser_, index : int )=>cdata" },
  { dao_Fl_Browser__item_last, "item_last( self : Fl_Browser_ )=>cdata" },
  { dao_Fl_Browser__item_quick_height, "item_quick_height( self : Fl_Browser_, item : cdata )=>int" },
  { dao_Fl_Browser__item_select, "item_select( self : Fl_Browser_, item : cdata, val : int=1 )" },
  { dao_Fl_Browser__item_selected, "item_selected( self : Fl_Browser_, item : cdata )=>int" },
  { dao_Fl_Browser__item_swap, "item_swap( self : Fl_Browser_, a : cdata, b : cdata )" },
  { dao_Fl_Browser__item_text, "item_text( self : Fl_Browser_, item : cdata )=>string" },
  { dao_Fl_Browser__leftedge, "leftedge( self : Fl_Browser_ )=>int" },
  { dao_Fl_Browser__new_list, "new_list( self : Fl_Browser_ )" },
  { dao_Fl_Browser__position, "position( self : Fl_Browser_ )=>int" },
  { dao_Fl_Browser__position_dao_2, "position( self : Fl_Browser_, pos : int )" },
  { dao_Fl_Browser__redraw_line, "redraw_line( self : Fl_Browser_, item : cdata )" },
  { dao_Fl_Browser__redraw_lines, "redraw_lines( self : Fl_Browser_ )" },
  { dao_Fl_Browser__replacing, "replacing( self : Fl_Browser_, a : cdata, b : cdata )" },
  { dao_Fl_Browser__resize, "resize( self : Fl_Browser_, X : int, Y : int, W : int, H : int )" },
  { dao_Fl_Browser__scrollbar_left, "scrollbar_left( self : Fl_Browser_ )" },
  { dao_Fl_Browser__scrollbar_right, "scrollbar_right( self : Fl_Browser_ )" },
  { dao_Fl_Browser__scrollbar_size, "scrollbar_size( self : Fl_Browser_ )=>int" },
  { dao_Fl_Browser__scrollbar_size_dao_2, "scrollbar_size( self : Fl_Browser_, size : int )" },
  { dao_Fl_Browser__scrollbar_width, "scrollbar_width( self : Fl_Browser_ )=>int" },
  { dao_Fl_Browser__scrollbar_width_dao_2, "scrollbar_width( self : Fl_Browser_, width : int )" },
  { dao_Fl_Browser__select, "select( self : Fl_Browser_, item : cdata, val : int=1, docallbacks : int=0 )=>int" },
  { dao_Fl_Browser__select_only, "select_only( self : Fl_Browser_, item : cdata, docallbacks : int=0 )=>int" },
  { dao_Fl_Browser__selection, "selection( self : Fl_Browser_ )=>cdata" },
  { dao_Fl_Browser__sort, "sort( self : Fl_Browser_, flags : int=0 )" },
  { dao_Fl_Browser__swapping, "swapping( self : Fl_Browser_, a : cdata, b : cdata )" },
  { dao_Fl_Browser__textcolor, "textcolor( self : Fl_Browser_ )=>int" },
  { dao_Fl_Browser__textcolor_dao_2, "textcolor( self : Fl_Browser_, col : int )" },
  { dao_Fl_Browser__textfont, "textfont( self : Fl_Browser_ )=>int" },
  { dao_Fl_Browser__textfont_dao_2, "textfont( self : Fl_Browser_, font : int )" },
  { dao_Fl_Browser__textsize, "textsize( self : Fl_Browser_ )=>int" },
  { dao_Fl_Browser__textsize_dao_2, "textsize( self : Fl_Browser_, size : int )" },
  { dao_Fl_Browser__top, "top( self : Fl_Browser_ )=>cdata" },
  { NULL, NULL }
};
static void Dao_Fl_Browser__Delete( void *self )
{
	delete (Fl_Browser_*) self;
}
void* dao_cast_Fl_Browser__to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Browser_*)data;
}

static DaoTypeBase Fl_Browser__Typer = 
{ "Fl_Browser_", NULL, 
  dao_Fl_Browser__Nums,
  dao_Fl_Browser__Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Browser__to_Fl_Group,0 },
  Dao_Fl_Browser__Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Browser__Typer = & Fl_Browser__Typer;
static void dao_Fl_Browser__GETF_scrollbar( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_ *self = (Fl_Browser_*)DValue_CastCData(_p[0],dao_Fl_Browser__Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->scrollbar, dao_Fl_Scrollbar_Typer );
}
static void dao_Fl_Browser__GETF_hscrollbar( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_ *self = (Fl_Browser_*)DValue_CastCData(_p[0],dao_Fl_Browser__Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->hscrollbar, dao_Fl_Scrollbar_Typer );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__Fl_Browser_( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Browser_ *_self = DaoCxx_Fl_Browser__New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__bbox( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  self->DaoWrap_bbox( X, Y, W, H );
  _p[1]->v.i = (int) X;
  _p[2]->v.i = (int) Y;
  _p[3]->v.i = (int) W;
  _p[4]->v.i = (int) H;
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__deleting( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  self->DaoWrap_deleting( item );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__deselect( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int docallbacks= (int) _p[1]->v.i;
  int _deselect = self->Fl_Browser_::deselect( docallbacks );
  DaoContext_PutInteger( _ctx, (int) _deselect );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__display( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  self->Fl_Browser_::display( item );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__displayed( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  int _displayed = self->DaoWrap_displayed( item );
  DaoContext_PutInteger( _ctx, (int) _displayed );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__find_item( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int ypos= (int) _p[1]->v.i;
  void* _find_item = self->DaoWrap_find_item( ypos );
  DaoContext_PutCPointer( _ctx, (void*) _find_item, 0 );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__full_height( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int _full_height = self->DaoWrap_full_height(  );
  DaoContext_PutInteger( _ctx, (int) _full_height );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__full_width( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int _full_width = self->DaoWrap_full_width(  );
  DaoContext_PutInteger( _ctx, (int) _full_width );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int event= (int) _p[1]->v.i;
  int _handle = self->Fl_Browser_::handle( event );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__has_scrollbar( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  uchar _has_scrollbar = self->Fl_Browser_::has_scrollbar(  );
  DaoContext_PutInteger( _ctx, (int) _has_scrollbar );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__has_scrollbar_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  uchar mode= (uchar) _p[1]->v.i;
  self->Fl_Browser_::has_scrollbar( mode );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__hposition( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int _hposition = self->Fl_Browser_::hposition(  );
  DaoContext_PutInteger( _ctx, (int) _hposition );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__hposition_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int _cp0= (int) _p[1]->v.i;
  self->Fl_Browser_::hposition( _cp0 );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__incr_height( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int _incr_height = self->DaoWrap_incr_height(  );
  DaoContext_PutInteger( _ctx, (int) _incr_height );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__inserting( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* a= (void*) DValue_GetCData( _p[1] );
  void* b= (void*) DValue_GetCData( _p[2] );
  self->DaoWrap_inserting( a, b );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__item_at( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int index= (int) _p[1]->v.i;
  void* _item_at = self->DaoWrap_item_at( index );
  DaoContext_PutCPointer( _ctx, (void*) _item_at, 0 );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__item_last( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* _item_last = self->DaoWrap_item_last(  );
  DaoContext_PutCPointer( _ctx, (void*) _item_last, 0 );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__item_quick_height( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  int _item_quick_height = self->DaoWrap_item_quick_height( item );
  DaoContext_PutInteger( _ctx, (int) _item_quick_height );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__item_select( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  int val= (int) _p[2]->v.i;
  self->DaoWrap_item_select( item, val );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__item_selected( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  int _item_selected = self->DaoWrap_item_selected( item );
  DaoContext_PutInteger( _ctx, (int) _item_selected );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__item_swap( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* a= (void*) DValue_GetCData( _p[1] );
  void* b= (void*) DValue_GetCData( _p[2] );
  self->DaoWrap_item_swap( a, b );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__item_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  const char* _item_text = self->DaoWrap_item_text( item );
  DaoContext_PutMBString( _ctx, (char*) _item_text );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__leftedge( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int _leftedge = self->DaoWrap_leftedge(  );
  DaoContext_PutInteger( _ctx, (int) _leftedge );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__new_list( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  self->DaoWrap_new_list(  );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int _position = self->Fl_Browser_::position(  );
  DaoContext_PutInteger( _ctx, (int) _position );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__position_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int pos= (int) _p[1]->v.i;
  self->Fl_Browser_::position( pos );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__redraw_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  self->DaoWrap_redraw_line( item );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__redraw_lines( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  self->DaoWrap_redraw_lines(  );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__replacing( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* a= (void*) DValue_GetCData( _p[1] );
  void* b= (void*) DValue_GetCData( _p[2] );
  self->DaoWrap_replacing( a, b );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  self->Fl_Browser_::resize( X, Y, W, H );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__scrollbar_left( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  self->Fl_Browser_::scrollbar_left(  );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__scrollbar_right( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  self->Fl_Browser_::scrollbar_right(  );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__scrollbar_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int _scrollbar_size = self->Fl_Browser_::scrollbar_size(  );
  DaoContext_PutInteger( _ctx, (int) _scrollbar_size );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__scrollbar_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int size= (int) _p[1]->v.i;
  self->Fl_Browser_::scrollbar_size( size );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__scrollbar_width( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int _scrollbar_width = self->Fl_Browser_::scrollbar_width(  );
  DaoContext_PutInteger( _ctx, (int) _scrollbar_width );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__scrollbar_width_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int width= (int) _p[1]->v.i;
  self->Fl_Browser_::scrollbar_width( width );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__select( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  int val= (int) _p[2]->v.i;
  int docallbacks= (int) _p[3]->v.i;
  int _select = self->Fl_Browser_::select( item, val, docallbacks );
  DaoContext_PutInteger( _ctx, (int) _select );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__select_only( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  int docallbacks= (int) _p[2]->v.i;
  int _select_only = self->Fl_Browser_::select_only( item, docallbacks );
  DaoContext_PutInteger( _ctx, (int) _select_only );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* _selection = self->DaoWrap_selection(  );
  DaoContext_PutCPointer( _ctx, (void*) _selection, 0 );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__sort( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  int flags= (int) _p[1]->v.i;
  self->Fl_Browser_::sort( flags );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__swapping( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* a= (void*) DValue_GetCData( _p[1] );
  void* b= (void*) DValue_GetCData( _p[2] );
  self->DaoWrap_swapping( a, b );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  Fl_Color _textcolor = self->Fl_Browser_::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  Fl_Color col= (Fl_Color) _p[1]->v.i;
  self->Fl_Browser_::textcolor( col );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  Fl_Font _textfont = self->Fl_Browser_::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  Fl_Font font= (Fl_Font) _p[1]->v.i;
  self->Fl_Browser_::textfont( font );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  Fl_Fontsize _textsize = self->Fl_Browser_::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser_* self= (Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  Fl_Fontsize size= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Browser_::textsize( size );
}
/* Fl_Browser_.H */
static void dao_Fl_Browser__top( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser_ *self = (DaoCxx_Fl_Browser_*) DValue_CastCData( _p[0], dao_Fl_Browser__Typer );
  void* _top = self->DaoWrap_top(  );
  DaoContext_PutCPointer( _ctx, (void*) _top, 0 );
}

/*  Fl_Browser.H */


static DaoNumItem dao_Fl_Browser_Nums[] =
{
  { "TOP", DAO_INTEGER, Fl_Browser::TOP },
  { "BOTTOM", DAO_INTEGER, Fl_Browser::BOTTOM },
  { "MIDDLE", DAO_INTEGER, Fl_Browser::MIDDLE },
  { NULL, 0, 0 }
};
static void dao_Fl_Browser_Fl_Browser( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser__remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_bottomline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_column_char( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_column_char_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_column_widths( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_column_widths_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_data( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_data_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_display( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_displayed( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_find_line( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_format_char( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_format_char_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_full_height( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_hide_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_hide( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_icon_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_icon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_incr_height( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_insert_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_item_at( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_item_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_item_first( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_item_height( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_item_last( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_item_next( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_item_prev( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_item_select( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_item_selected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_item_swap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_item_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_item_width( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_lineno( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_lineposition( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_load( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_make_visible( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_middleline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_move( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_remove_icon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_replace( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_select( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_selected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_show( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_swap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_swap_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_text_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_topline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_topline_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Browser_visible( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Browser_Meths[] = 
{
  { dao_Fl_Browser_Fl_Browser, "Fl_Browser( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Browser" },
  { dao_Fl_Browser__remove, "_remove( self : Fl_Browser, line : int )=>FL_BLINE" },
  { dao_Fl_Browser_add, "add( self : Fl_Browser, newtext : string, d : cdata|null=null )" },
  { dao_Fl_Browser_bottomline, "bottomline( self : Fl_Browser, line : int )" },
  { dao_Fl_Browser_clear, "clear( self : Fl_Browser )" },
  { dao_Fl_Browser_column_char, "column_char( self : Fl_Browser )=>int" },
  { dao_Fl_Browser_column_char_dao_2, "column_char( self : Fl_Browser, c : int )" },
  { dao_Fl_Browser_column_widths, "column_widths( self : Fl_Browser )=>array<int>" },
  { dao_Fl_Browser_column_widths_dao_2, "column_widths( self : Fl_Browser, arr : array<int> )" },
  { dao_Fl_Browser_data, "data( self : Fl_Browser, line : int )=>cdata" },
  { dao_Fl_Browser_data_dao_2, "data( self : Fl_Browser, line : int, d : cdata )" },
  { dao_Fl_Browser_display, "display( self : Fl_Browser, line : int, val : int=1 )" },
  { dao_Fl_Browser_displayed, "displayed( self : Fl_Browser, line : int )=>int" },
  { dao_Fl_Browser_find_line, "find_line( self : Fl_Browser, line : int )=>FL_BLINE" },
  { dao_Fl_Browser_format_char, "format_char( self : Fl_Browser )=>int" },
  { dao_Fl_Browser_format_char_dao_2, "format_char( self : Fl_Browser, c : int )" },
  { dao_Fl_Browser_full_height, "full_height( self : Fl_Browser )=>int" },
  { dao_Fl_Browser_hide_dao_2, "hide( self : Fl_Browser )" },
  { dao_Fl_Browser_hide, "hide( self : Fl_Browser, line : int )" },
  { dao_Fl_Browser_icon_dao_2, "icon( self : Fl_Browser, line : int )=>Fl_Image" },
  { dao_Fl_Browser_icon, "icon( self : Fl_Browser, line : int, icon : Fl_Image )" },
  { dao_Fl_Browser_incr_height, "incr_height( self : Fl_Browser )=>int" },
  { dao_Fl_Browser_insert, "insert( self : Fl_Browser, line : int, item : FL_BLINE )" },
  { dao_Fl_Browser_insert_dao_2, "insert( self : Fl_Browser, line : int, newtext : string, d : cdata|null=null )" },
  { dao_Fl_Browser_item_at, "item_at( self : Fl_Browser, line : int )=>cdata" },
  { dao_Fl_Browser_item_draw, "item_draw( self : Fl_Browser, item : cdata, X : int, Y : int, W : int, H : int )" },
  { dao_Fl_Browser_item_first, "item_first( self : Fl_Browser )=>cdata" },
  { dao_Fl_Browser_item_height, "item_height( self : Fl_Browser, item : cdata )=>int" },
  { dao_Fl_Browser_item_last, "item_last( self : Fl_Browser )=>cdata" },
  { dao_Fl_Browser_item_next, "item_next( self : Fl_Browser, item : cdata )=>cdata" },
  { dao_Fl_Browser_item_prev, "item_prev( self : Fl_Browser, item : cdata )=>cdata" },
  { dao_Fl_Browser_item_select, "item_select( self : Fl_Browser, item : cdata, val : int )" },
  { dao_Fl_Browser_item_selected, "item_selected( self : Fl_Browser, item : cdata )=>int" },
  { dao_Fl_Browser_item_swap, "item_swap( self : Fl_Browser, a : cdata, b : cdata )" },
  { dao_Fl_Browser_item_text, "item_text( self : Fl_Browser, item : cdata )=>string" },
  { dao_Fl_Browser_item_width, "item_width( self : Fl_Browser, item : cdata )=>int" },
  { dao_Fl_Browser_lineno, "lineno( self : Fl_Browser, item : cdata )=>int" },
  { dao_Fl_Browser_lineposition, "lineposition( self : Fl_Browser, line : int, pos : int )" },
  { dao_Fl_Browser_load, "load( self : Fl_Browser, filename : string )=>int" },
  { dao_Fl_Browser_make_visible, "make_visible( self : Fl_Browser, line : int )" },
  { dao_Fl_Browser_middleline, "middleline( self : Fl_Browser, line : int )" },
  { dao_Fl_Browser_move, "move( self : Fl_Browser, to : int, from : int )" },
  { dao_Fl_Browser_remove, "remove( self : Fl_Browser, line : int )" },
  { dao_Fl_Browser_remove_icon, "remove_icon( self : Fl_Browser, line : int )" },
  { dao_Fl_Browser_replace, "replace( self : Fl_Browser, a : int, b : string )" },
  { dao_Fl_Browser_select, "select( self : Fl_Browser, line : int, val : int=1 )=>int" },
  { dao_Fl_Browser_selected, "selected( self : Fl_Browser, line : int )=>int" },
  { dao_Fl_Browser_show_dao_2, "show( self : Fl_Browser )" },
  { dao_Fl_Browser_show, "show( self : Fl_Browser, line : int )" },
  { dao_Fl_Browser_size, "size( self : Fl_Browser )=>int" },
  { dao_Fl_Browser_size_dao_2, "size( self : Fl_Browser, W : int, H : int )" },
  { dao_Fl_Browser_swap, "swap( self : Fl_Browser, a : FL_BLINE, b : FL_BLINE )" },
  { dao_Fl_Browser_swap_dao_2, "swap( self : Fl_Browser, a : int, b : int )" },
  { dao_Fl_Browser_text, "text( self : Fl_Browser, line : int )=>string" },
  { dao_Fl_Browser_text_dao_2, "text( self : Fl_Browser, line : int, newtext : string )" },
  { dao_Fl_Browser_topline, "topline( self : Fl_Browser )=>int" },
  { dao_Fl_Browser_topline_dao_2, "topline( self : Fl_Browser, line : int )" },
  { dao_Fl_Browser_value, "value( self : Fl_Browser )=>int" },
  { dao_Fl_Browser_value_dao_2, "value( self : Fl_Browser, line : int )" },
  { dao_Fl_Browser_visible, "visible( self : Fl_Browser, line : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Browser_Delete( void *self )
{
	delete (Fl_Browser*) self;
}
void* dao_cast_Fl_Browser_to_Fl_Browser_( void *data )
{
	return (Fl_Browser_*)(Fl_Browser*)data;
}

static DaoTypeBase Fl_Browser_Typer = 
{ "Fl_Browser", NULL, 
  dao_Fl_Browser_Nums,
  dao_Fl_Browser_Meths, 
  { dao_Fl_Browser__Typer, 0 },
  { dao_cast_Fl_Browser_to_Fl_Browser_,0 },
  Dao_Fl_Browser_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Browser_Typer = & Fl_Browser_Typer;
/* Fl_Browser.H */
static void dao_Fl_Browser_Fl_Browser( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Browser *_self = DaoCxx_Fl_Browser_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Browser.H */
static void dao_Fl_Browser__remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  FL_BLINE* __remove = self->DaoWrap__remove( line );
  DaoContext_WrapCData( _ctx, (void*) __remove, dao_FL_BLINE_Typer );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_add( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  char* newtext= (char*) DValue_GetMBString( _p[1] );
  void* d= (void*) DValue_GetCData( _p[2] );
  self->Fl_Browser::add( newtext, d );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_bottomline( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  self->Fl_Browser::bottomline( line );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  self->Fl_Browser::clear(  );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_column_char( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  char _column_char = self->Fl_Browser::column_char(  );
  DaoContext_PutInteger( _ctx, (int) _column_char );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_column_char_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  char c= (char) _p[1]->v.i;
  self->Fl_Browser::column_char( c );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_column_widths( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  const int* _column_widths = self->Fl_Browser::column_widths(  );
  DaoContext_PutArrayInteger( _ctx, (int*) _column_widths, 0 );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_column_widths_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int* arr= (int*) DaoArray_ToInt( _p[1]->v.array );
  self->Fl_Browser::column_widths( arr );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_data( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  void* _data = self->Fl_Browser::data( line );
  DaoContext_PutCPointer( _ctx, (void*) _data, 0 );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_data_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  void* d= (void*) DValue_GetCData( _p[2] );
  self->Fl_Browser::data( line, d );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_display( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  int val= (int) _p[2]->v.i;
  self->Fl_Browser::display( line, val );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_displayed( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  int _displayed = self->Fl_Browser::displayed( line );
  DaoContext_PutInteger( _ctx, (int) _displayed );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_find_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  FL_BLINE* _find_line = self->DaoWrap_find_line( line );
  DaoContext_WrapCData( _ctx, (void*) _find_line, dao_FL_BLINE_Typer );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_format_char( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  char _format_char = self->Fl_Browser::format_char(  );
  DaoContext_PutInteger( _ctx, (int) _format_char );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_format_char_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  char c= (char) _p[1]->v.i;
  self->Fl_Browser::format_char( c );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_full_height( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int _full_height = self->DaoWrap_full_height(  );
  DaoContext_PutInteger( _ctx, (int) _full_height );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_hide_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  self->Fl_Browser::hide(  );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_hide( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  self->Fl_Browser::hide( line );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_icon_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  Fl_Image* _icon = self->Fl_Browser::icon( line );
  DaoContext_WrapCData( _ctx, (void*) _icon, dao_Fl_Image_Typer );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_icon( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  Fl_Image* icon= (Fl_Image*) DValue_CastCData( _p[2], dao_Fl_Image_Typer );
  self->Fl_Browser::icon( line, icon );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_incr_height( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int _incr_height = self->DaoWrap_incr_height(  );
  DaoContext_PutInteger( _ctx, (int) _incr_height );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  FL_BLINE* item= (FL_BLINE*) DValue_CastCData( _p[2], dao_FL_BLINE_Typer );
  self->DaoWrap_insert( line, item );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_insert_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  char* newtext= (char*) DValue_GetMBString( _p[2] );
  void* d= (void*) DValue_GetCData( _p[3] );
  self->Fl_Browser::insert( line, newtext, d );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_item_at( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  void* _item_at = self->DaoWrap_item_at( line );
  DaoContext_PutCPointer( _ctx, (void*) _item_at, 0 );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_item_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  int X= (int) _p[2]->v.i;
  int Y= (int) _p[3]->v.i;
  int W= (int) _p[4]->v.i;
  int H= (int) _p[5]->v.i;
  self->DaoWrap_item_draw( item, X, Y, W, H );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_item_first( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  void* _item_first = self->DaoWrap_item_first(  );
  DaoContext_PutCPointer( _ctx, (void*) _item_first, 0 );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_item_height( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  int _item_height = self->DaoWrap_item_height( item );
  DaoContext_PutInteger( _ctx, (int) _item_height );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_item_last( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  void* _item_last = self->DaoWrap_item_last(  );
  DaoContext_PutCPointer( _ctx, (void*) _item_last, 0 );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_item_next( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  void* _item_next = self->DaoWrap_item_next( item );
  DaoContext_PutCPointer( _ctx, (void*) _item_next, 0 );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_item_prev( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  void* _item_prev = self->DaoWrap_item_prev( item );
  DaoContext_PutCPointer( _ctx, (void*) _item_prev, 0 );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_item_select( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  int val= (int) _p[2]->v.i;
  self->DaoWrap_item_select( item, val );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_item_selected( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  int _item_selected = self->DaoWrap_item_selected( item );
  DaoContext_PutInteger( _ctx, (int) _item_selected );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_item_swap( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  void* a= (void*) DValue_GetCData( _p[1] );
  void* b= (void*) DValue_GetCData( _p[2] );
  self->DaoWrap_item_swap( a, b );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_item_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  const char* _item_text = self->DaoWrap_item_text( item );
  DaoContext_PutMBString( _ctx, (char*) _item_text );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_item_width( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  int _item_width = self->DaoWrap_item_width( item );
  DaoContext_PutInteger( _ctx, (int) _item_width );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_lineno( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  void* item= (void*) DValue_GetCData( _p[1] );
  int _lineno = self->DaoWrap_lineno( item );
  DaoContext_PutInteger( _ctx, (int) _lineno );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_lineposition( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  Fl_Browser::Fl_Line_Position pos= (Fl_Browser::Fl_Line_Position) _p[2]->v.i;
  self->Fl_Browser::lineposition( line, pos );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_load( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  char* filename= (char*) DValue_GetMBString( _p[1] );
  int _load = self->Fl_Browser::load( filename );
  DaoContext_PutInteger( _ctx, (int) _load );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_make_visible( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  self->Fl_Browser::make_visible( line );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_middleline( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  self->Fl_Browser::middleline( line );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_move( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int to= (int) _p[1]->v.i;
  int from= (int) _p[2]->v.i;
  self->Fl_Browser::move( to, from );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  self->Fl_Browser::remove( line );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_remove_icon( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  self->Fl_Browser::remove_icon( line );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_replace( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int a= (int) _p[1]->v.i;
  char* b= (char*) DValue_GetMBString( _p[2] );
  self->Fl_Browser::replace( a, b );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_select( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  int val= (int) _p[2]->v.i;
  int _select = self->Fl_Browser::select( line, val );
  DaoContext_PutInteger( _ctx, (int) _select );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_selected( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  int _selected = self->Fl_Browser::selected( line );
  DaoContext_PutInteger( _ctx, (int) _selected );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  self->Fl_Browser::show(  );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_show( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  self->Fl_Browser::show( line );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int _size = self->Fl_Browser::size(  );
  DaoContext_PutInteger( _ctx, (int) _size );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  self->Fl_Browser::size( W, H );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_swap( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Browser *self = (DaoCxx_Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  FL_BLINE* a= (FL_BLINE*) DValue_CastCData( _p[1], dao_FL_BLINE_Typer );
  FL_BLINE* b= (FL_BLINE*) DValue_CastCData( _p[2], dao_FL_BLINE_Typer );
  self->DaoWrap_swap( a, b );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_swap_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int a= (int) _p[1]->v.i;
  int b= (int) _p[2]->v.i;
  self->Fl_Browser::swap( a, b );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  const char* _text = self->Fl_Browser::text( line );
  DaoContext_PutMBString( _ctx, (char*) _text );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_text_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  char* newtext= (char*) DValue_GetMBString( _p[2] );
  self->Fl_Browser::text( line, newtext );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_topline( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int _topline = self->Fl_Browser::topline(  );
  DaoContext_PutInteger( _ctx, (int) _topline );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_topline_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  self->Fl_Browser::topline( line );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int _value = self->Fl_Browser::value(  );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  self->Fl_Browser::value( line );
}
/* Fl_Browser.H */
static void dao_Fl_Browser_visible( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Browser* self= (Fl_Browser*) DValue_CastCData( _p[0], dao_Fl_Browser_Typer );
  int line= (int) _p[1]->v.i;
  int _visible = self->Fl_Browser::visible( line );
  DaoContext_PutInteger( _ctx, (int) _visible );
}

/*  Fl_Button.H */


static DaoNumItem dao_Fl_Button_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Button_Fl_Button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_down_box( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_down_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_down_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_down_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_handle__Fl_Button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_set( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_setonly( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_shortcut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_shortcut_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_shortcut_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Button_value( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Button_Meths[] = 
{
  { dao_Fl_Button_Fl_Button, "Fl_Button( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Button" },
  { dao_Fl_Button_clear, "clear( self : Fl_Button )=>int" },
  { dao_Fl_Button_down_box, "down_box( self : Fl_Button )=>int" },
  { dao_Fl_Button_down_box_dao_2, "down_box( self : Fl_Button, b : int )" },
  { dao_Fl_Button_down_color, "down_color( self : Fl_Button )=>int" },
  { dao_Fl_Button_down_color_dao_2, "down_color( self : Fl_Button, c : int )" },
  { dao_Fl_Button_draw, "draw( self : Fl_Button )" },
  { dao_Fl_Button_handle, "handle( self : Fl_Button, _cp0 : int )=>int" },
  { dao_Fl_Button_set, "set( self : Fl_Button )=>int" },
  { dao_Fl_Button_setonly, "setonly( self : Fl_Button )" },
  { dao_Fl_Button_shortcut, "shortcut( self : Fl_Button )=>int" },
  { dao_Fl_Button_shortcut_dao_3, "shortcut( self : Fl_Button, s : string )" },
  { dao_Fl_Button_shortcut_dao_2, "shortcut( self : Fl_Button, s : int )" },
  { dao_Fl_Button_value_dao_2, "value( self : Fl_Button )=>int" },
  { dao_Fl_Button_value, "value( self : Fl_Button, v : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Button_Delete( void *self )
{
	delete (Fl_Button*) self;
}
void* dao_cast_Fl_Button_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_Button*)data;
}

static DaoTypeBase Fl_Button_Typer = 
{ "Fl_Button", NULL, 
  dao_Fl_Button_Nums,
  dao_Fl_Button_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_Button_to_Fl_Widget,0 },
  Dao_Fl_Button_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Button_Typer = & Fl_Button_Typer;
/* Fl_Button.H */
static void dao_Fl_Button_Fl_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Button *_self = DaoCxx_Fl_Button_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Button.H */
static void dao_Fl_Button_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  int _clear = self->Fl_Button::clear(  );
  DaoContext_PutInteger( _ctx, (int) _clear );
}
/* Fl_Button.H */
static void dao_Fl_Button_down_box( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  Fl_Boxtype _down_box = self->Fl_Button::down_box(  );
  DaoContext_PutInteger( _ctx, (int) _down_box );
}
/* Fl_Button.H */
static void dao_Fl_Button_down_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  Fl_Boxtype b= (Fl_Boxtype) _p[1]->v.i;
  self->Fl_Button::down_box( b );
}
/* Fl_Button.H */
static void dao_Fl_Button_down_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  Fl_Color _down_color = self->Fl_Button::down_color(  );
  DaoContext_PutInteger( _ctx, (int) _down_color );
}
/* Fl_Button.H */
static void dao_Fl_Button_down_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  unsigned c= (unsigned) _p[1]->v.i;
  self->Fl_Button::down_color( c );
}
/* Fl_Button.H */
static void dao_Fl_Button_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Button *self = (DaoCxx_Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Button.H */
static void dao_Fl_Button_handle__Fl_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Button::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Button.H */
static void dao_Fl_Button_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Button_handle__Fl_Button( _ctx, _p, _n );
    return;
  }
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Button.H */
static void dao_Fl_Button_set( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  int _set = self->Fl_Button::set(  );
  DaoContext_PutInteger( _ctx, (int) _set );
}
/* Fl_Button.H */
static void dao_Fl_Button_setonly( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  self->Fl_Button::setonly(  );
}
/* Fl_Button.H */
static void dao_Fl_Button_shortcut( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  int _shortcut = self->Fl_Button::shortcut(  );
  DaoContext_PutInteger( _ctx, (int) _shortcut );
}
/* Fl_Button.H */
static void dao_Fl_Button_shortcut_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  char* s= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Button::shortcut( s );
}
/* Fl_Button.H */
static void dao_Fl_Button_shortcut_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  int s= (int) _p[1]->v.i;
  self->Fl_Button::shortcut( s );
}
/* Fl_Button.H */
static void dao_Fl_Button_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  char _value = self->Fl_Button::value(  );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Button.H */
static void dao_Fl_Button_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Button* self= (Fl_Button*) DValue_CastCData( _p[0], dao_Fl_Button_Typer );
  int v= (int) _p[1]->v.i;
  int _value = self->Fl_Button::value( v );
  DaoContext_PutInteger( _ctx, (int) _value );
}

/*  Fl_Chart.H */


static DaoNumItem dao_Fl_Chart_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Chart_Fl_Chart( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_autosize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_autosize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_bounds( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_bounds_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_maxsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_maxsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_replace( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Chart_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Chart_Meths[] = 
{
  { dao_Fl_Chart_Fl_Chart, "Fl_Chart( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Chart" },
  { dao_Fl_Chart_add, "add( self : Fl_Chart, val : double, str : string|null=null, col : int= 0 )" },
  { dao_Fl_Chart_autosize, "autosize( self : Fl_Chart )=>int" },
  { dao_Fl_Chart_autosize_dao_2, "autosize( self : Fl_Chart, n : int )" },
  { dao_Fl_Chart_bounds, "bounds( self : Fl_Chart, a : double, b : double )" },
  { dao_Fl_Chart_bounds_dao_2, "bounds( self : Fl_Chart, a : double, b : double )" },
  { dao_Fl_Chart_clear, "clear( self : Fl_Chart )" },
  { dao_Fl_Chart_draw, "draw( self : Fl_Chart )" },
  { dao_Fl_Chart_insert, "insert( self : Fl_Chart, ind : int, val : double, str : string|null=null, col : int= 0 )" },
  { dao_Fl_Chart_maxsize, "maxsize( self : Fl_Chart )=>int" },
  { dao_Fl_Chart_maxsize_dao_2, "maxsize( self : Fl_Chart, m : int )" },
  { dao_Fl_Chart_replace, "replace( self : Fl_Chart, ind : int, val : double, str : string|null=null, col : int= 0 )" },
  { dao_Fl_Chart_size, "size( self : Fl_Chart )=>int" },
  { dao_Fl_Chart_size_dao_2, "size( self : Fl_Chart, W : int, H : int )" },
  { dao_Fl_Chart_textcolor, "textcolor( self : Fl_Chart )=>int" },
  { dao_Fl_Chart_textcolor_dao_2, "textcolor( self : Fl_Chart, n : int )" },
  { dao_Fl_Chart_textfont, "textfont( self : Fl_Chart )=>int" },
  { dao_Fl_Chart_textfont_dao_2, "textfont( self : Fl_Chart, s : int )" },
  { dao_Fl_Chart_textsize, "textsize( self : Fl_Chart )=>int" },
  { dao_Fl_Chart_textsize_dao_2, "textsize( self : Fl_Chart, s : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Chart_Delete( void *self )
{
	delete (Fl_Chart*) self;
}
void* dao_cast_Fl_Chart_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_Chart*)data;
}

static DaoTypeBase Fl_Chart_Typer = 
{ "Fl_Chart", NULL, 
  dao_Fl_Chart_Nums,
  dao_Fl_Chart_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_Chart_to_Fl_Widget,0 },
  Dao_Fl_Chart_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Chart_Typer = & Fl_Chart_Typer;
/* Fl_Chart.H */
static void dao_Fl_Chart_Fl_Chart( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Chart *_self = DaoCxx_Fl_Chart_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_add( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  double val= (double) _p[1]->v.d;
  char* str= (char*) DValue_GetMBString( _p[2] );
  unsigned col= (unsigned) _p[3]->v.i;
  self->Fl_Chart::add( val, str, col );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_autosize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  uchar _autosize = self->Fl_Chart::autosize(  );
  DaoContext_PutInteger( _ctx, (int) _autosize );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_autosize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  uchar n= (uchar) _p[1]->v.i;
  self->Fl_Chart::autosize( n );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_bounds( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  double a= (double) _p[1]->v.d;
  double b= (double) _p[2]->v.d;
  self->Fl_Chart::bounds( & a, & b );
  _p[1]->v.d = (double) a;
  _p[2]->v.d = (double) b;
}
/* Fl_Chart.H */
static void dao_Fl_Chart_bounds_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  double a= (double) _p[1]->v.d;
  double b= (double) _p[2]->v.d;
  self->Fl_Chart::bounds( a, b );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  self->Fl_Chart::clear(  );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Chart *self = (DaoCxx_Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  int ind= (int) _p[1]->v.i;
  double val= (double) _p[2]->v.d;
  char* str= (char*) DValue_GetMBString( _p[3] );
  unsigned col= (unsigned) _p[4]->v.i;
  self->Fl_Chart::insert( ind, val, str, col );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_maxsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  int _maxsize = self->Fl_Chart::maxsize(  );
  DaoContext_PutInteger( _ctx, (int) _maxsize );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_maxsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  int m= (int) _p[1]->v.i;
  self->Fl_Chart::maxsize( m );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_replace( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  int ind= (int) _p[1]->v.i;
  double val= (double) _p[2]->v.d;
  char* str= (char*) DValue_GetMBString( _p[3] );
  unsigned col= (unsigned) _p[4]->v.i;
  self->Fl_Chart::replace( ind, val, str, col );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  int _size = self->Fl_Chart::size(  );
  DaoContext_PutInteger( _ctx, (int) _size );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  self->Fl_Chart::size( W, H );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  Fl_Color _textcolor = self->Fl_Chart::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  Fl_Color n= (Fl_Color) _p[1]->v.i;
  self->Fl_Chart::textcolor( n );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  Fl_Font _textfont = self->Fl_Chart::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  Fl_Font s= (Fl_Font) _p[1]->v.i;
  self->Fl_Chart::textfont( s );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  Fl_Fontsize _textsize = self->Fl_Chart::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Chart.H */
static void dao_Fl_Chart_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Chart* self= (Fl_Chart*) DValue_CastCData( _p[0], dao_Fl_Chart_Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Chart::textsize( s );
}

/*  Fl_Check_Browser.H */


static DaoNumItem dao_Fl_Check_Browser_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Check_Browser_Fl_Check_Browser( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_add_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_add_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_add_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_check_all( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_check_none( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_checked( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_checked_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_nchecked( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_nitems( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_set_checked( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Check_Browser_value( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Check_Browser_Meths[] = 
{
  { dao_Fl_Check_Browser_Fl_Check_Browser, "Fl_Check_Browser( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Check_Browser" },
  { dao_Fl_Check_Browser_add, "add( self : Fl_Check_Browser, s : string )=>int" },
  { dao_Fl_Check_Browser_add_dao_2, "add( self : Fl_Check_Browser, s : string, b : int )=>int" },
  { dao_Fl_Check_Browser_add_dao_3, "add( self : Fl_Check_Browser, s : string )=>int" },
  { dao_Fl_Check_Browser_add_dao_4, "add( self : Fl_Check_Browser, s : string, b : int )=>int" },
  { dao_Fl_Check_Browser_check_all, "check_all( self : Fl_Check_Browser )" },
  { dao_Fl_Check_Browser_check_none, "check_none( self : Fl_Check_Browser )" },
  { dao_Fl_Check_Browser_checked, "checked( self : Fl_Check_Browser, item : int )=>int" },
  { dao_Fl_Check_Browser_checked_dao_2, "checked( self : Fl_Check_Browser, item : int, b : int )" },
  { dao_Fl_Check_Browser_clear, "clear( self : Fl_Check_Browser )" },
  { dao_Fl_Check_Browser_handle, "handle( self : Fl_Check_Browser, _cp0 : int )=>int" },
  { dao_Fl_Check_Browser_nchecked, "nchecked( self : Fl_Check_Browser )=>int" },
  { dao_Fl_Check_Browser_nitems, "nitems( self : Fl_Check_Browser )=>int" },
  { dao_Fl_Check_Browser_remove, "remove( self : Fl_Check_Browser, item : int )=>int" },
  { dao_Fl_Check_Browser_set_checked, "set_checked( self : Fl_Check_Browser, item : int )" },
  { dao_Fl_Check_Browser_text, "text( self : Fl_Check_Browser, item : int )=>string" },
  { dao_Fl_Check_Browser_value, "value( self : Fl_Check_Browser )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Check_Browser_Delete( void *self )
{
	delete (Fl_Check_Browser*) self;
}
void* dao_cast_Fl_Check_Browser_to_Fl_Browser_( void *data )
{
	return (Fl_Browser_*)(Fl_Check_Browser*)data;
}

static DaoTypeBase Fl_Check_Browser_Typer = 
{ "Fl_Check_Browser", NULL, 
  dao_Fl_Check_Browser_Nums,
  dao_Fl_Check_Browser_Meths, 
  { dao_Fl_Browser__Typer, 0 },
  { dao_cast_Fl_Check_Browser_to_Fl_Browser_,0 },
  Dao_Fl_Check_Browser_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Check_Browser_Typer = & Fl_Check_Browser_Typer;
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_Fl_Check_Browser( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Check_Browser *_self = DaoCxx_Fl_Check_Browser_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_add( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  char* s= (char*) DValue_GetMBString( _p[1] );
  int _add = self->Fl_Check_Browser::add( s );
  DString_SetMBS( _p[1]->v.s, (char*) s );
  DaoContext_PutInteger( _ctx, (int) _add );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_add_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  char* s= (char*) DValue_GetMBString( _p[1] );
  int b= (int) _p[2]->v.i;
  int _add = self->Fl_Check_Browser::add( s, b );
  DString_SetMBS( _p[1]->v.s, (char*) s );
  DaoContext_PutInteger( _ctx, (int) _add );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_add_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  char* s= (char*) DValue_GetMBString( _p[1] );
  int _add = self->Fl_Check_Browser::add( s );
  DaoContext_PutInteger( _ctx, (int) _add );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_add_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  char* s= (char*) DValue_GetMBString( _p[1] );
  int b= (int) _p[2]->v.i;
  int _add = self->Fl_Check_Browser::add( s, b );
  DaoContext_PutInteger( _ctx, (int) _add );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_check_all( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  self->Fl_Check_Browser::check_all(  );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_check_none( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  self->Fl_Check_Browser::check_none(  );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_checked( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  int item= (int) _p[1]->v.i;
  int _checked = self->Fl_Check_Browser::checked( item );
  DaoContext_PutInteger( _ctx, (int) _checked );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_checked_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  int item= (int) _p[1]->v.i;
  int b= (int) _p[2]->v.i;
  self->Fl_Check_Browser::checked( item, b );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  self->Fl_Check_Browser::clear(  );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Check_Browser *self = (DaoCxx_Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->DaoWrap_handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_nchecked( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  int _nchecked = self->Fl_Check_Browser::nchecked(  );
  DaoContext_PutInteger( _ctx, (int) _nchecked );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_nitems( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  int _nitems = self->Fl_Check_Browser::nitems(  );
  DaoContext_PutInteger( _ctx, (int) _nitems );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  int item= (int) _p[1]->v.i;
  int _remove = self->Fl_Check_Browser::remove( item );
  DaoContext_PutInteger( _ctx, (int) _remove );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_set_checked( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  int item= (int) _p[1]->v.i;
  self->Fl_Check_Browser::set_checked( item );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  int item= (int) _p[1]->v.i;
  char* _text = self->Fl_Check_Browser::text( item );
  DaoContext_PutMBString( _ctx, (char*) _text );
}
/* Fl_Check_Browser.H */
static void dao_Fl_Check_Browser_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Check_Browser* self= (Fl_Check_Browser*) DValue_CastCData( _p[0], dao_Fl_Check_Browser_Typer );
  int _value = self->Fl_Check_Browser::value(  );
  DaoContext_PutInteger( _ctx, (int) _value );
}

/*  Fl_Check_Browser.H */


static DaoNumItem dao_Fl_Check_Browser_cb_item_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Check_Browser_cb_item_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Check_Browser_cb_item_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Check_Browser_cb_item_Typer = 
{ "Fl_Check_Browser_cb_item", NULL, 
  dao_Fl_Check_Browser_cb_item_Nums,
  dao_Fl_Check_Browser_cb_item_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Check_Browser_cb_item_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Check_Browser_cb_item_Typer = & Fl_Check_Browser_cb_item_Typer;

/*  Fl_Light_Button.H */


static DaoNumItem dao_Fl_Light_Button_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Light_Button_Fl_Light_Button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Light_Button_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Light_Button_handle__Fl_Light_Button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Light_Button_handle( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Light_Button_Meths[] = 
{
  { dao_Fl_Light_Button_Fl_Light_Button, "Fl_Light_Button( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Light_Button" },
  { dao_Fl_Light_Button_draw, "draw( self : Fl_Light_Button )" },
  { dao_Fl_Light_Button_handle, "handle( self : Fl_Light_Button, _cp0 : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Light_Button_Delete( void *self )
{
	delete (Fl_Light_Button*) self;
}
void* dao_cast_Fl_Light_Button_to_Fl_Button( void *data )
{
	return (Fl_Button*)(Fl_Light_Button*)data;
}

static DaoTypeBase Fl_Light_Button_Typer = 
{ "Fl_Light_Button", NULL, 
  dao_Fl_Light_Button_Nums,
  dao_Fl_Light_Button_Meths, 
  { dao_Fl_Button_Typer, 0 },
  { dao_cast_Fl_Light_Button_to_Fl_Button,0 },
  Dao_Fl_Light_Button_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Light_Button_Typer = & Fl_Light_Button_Typer;
/* Fl_Light_Button.H */
static void dao_Fl_Light_Button_Fl_Light_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Light_Button *_self = DaoCxx_Fl_Light_Button_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Light_Button.H */
static void dao_Fl_Light_Button_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Light_Button *self = (DaoCxx_Fl_Light_Button*) DValue_CastCData( _p[0], dao_Fl_Light_Button_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Light_Button.H */
static void dao_Fl_Light_Button_handle__Fl_Light_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Light_Button* self= (Fl_Light_Button*) DValue_CastCData( _p[0], dao_Fl_Light_Button_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Light_Button::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Light_Button.H */
static void dao_Fl_Light_Button_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Light_Button_handle__Fl_Light_Button( _ctx, _p, _n );
    return;
  }
  Fl_Light_Button* self= (Fl_Light_Button*) DValue_CastCData( _p[0], dao_Fl_Light_Button_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}

/*  Fl_Check_Button.H */


static DaoNumItem dao_Fl_Check_Button_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Check_Button_Fl_Check_Button( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Check_Button_Meths[] = 
{
  { dao_Fl_Check_Button_Fl_Check_Button, "Fl_Check_Button( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Check_Button" },
  { NULL, NULL }
};
static void Dao_Fl_Check_Button_Delete( void *self )
{
	delete (Fl_Check_Button*) self;
}
void* dao_cast_Fl_Check_Button_to_Fl_Light_Button( void *data )
{
	return (Fl_Light_Button*)(Fl_Check_Button*)data;
}

static DaoTypeBase Fl_Check_Button_Typer = 
{ "Fl_Check_Button", NULL, 
  dao_Fl_Check_Button_Nums,
  dao_Fl_Check_Button_Meths, 
  { dao_Fl_Light_Button_Typer, 0 },
  { dao_cast_Fl_Check_Button_to_Fl_Light_Button,0 },
  Dao_Fl_Check_Button_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Check_Button_Typer = & Fl_Check_Button_Typer;
/* Fl_Check_Button.H */
static void dao_Fl_Check_Button_Fl_Check_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Check_Button *_self = DaoCxx_Fl_Check_Button_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Menu_.H */


static DaoNumItem dao_Fl_Menu__Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Menu__Fl_Menu_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__add_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__add_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__copy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__down_box( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__down_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__down_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__down_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__find_item( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__global( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__item_pathname( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__menu( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__menu_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__mode_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__mode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__mvalue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__picked( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__replace( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__shortcut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__size_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__test_shortcut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__text_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu__value_dao_3( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Menu__Meths[] = 
{
  { dao_Fl_Menu__Fl_Menu_, "Fl_Menu_( _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : string|null=null )=>Fl_Menu_" },
  { dao_Fl_Menu__add_dao_3, "add( self : Fl_Menu_, _cp0 : string )=>int" },
  { dao_Fl_Menu__add_dao_2, "add( self : Fl_Menu_, s : string, sc : string, cb : any, userdata : any|null=null, i : int=0  )=>int" },
  { dao_Fl_Menu__add, "add( self : Fl_Menu_, s : string, sc : int, cb : any, userdata : any|null=null, i : int=0  )=>int" },
  { dao_Fl_Menu__clear, "clear( self : Fl_Menu_ )" },
  { dao_Fl_Menu__copy, "copy( self : Fl_Menu_, m : Fl_Menu_Item, user_data : cdata|null=null )" },
  { dao_Fl_Menu__down_box, "down_box( self : Fl_Menu_ )=>int" },
  { dao_Fl_Menu__down_box_dao_2, "down_box( self : Fl_Menu_, b : int )" },
  { dao_Fl_Menu__down_color, "down_color( self : Fl_Menu_ )=>int" },
  { dao_Fl_Menu__down_color_dao_2, "down_color( self : Fl_Menu_, c : int )" },
  { dao_Fl_Menu__find_item, "find_item( self : Fl_Menu_, name : string )=>Fl_Menu_Item" },
  { dao_Fl_Menu__global, "global( self : Fl_Menu_ )" },
  { dao_Fl_Menu__item_pathname, "item_pathname( self : Fl_Menu_, name : string, namelen : int, finditem : Fl_Menu_Item|null=null )=>int" },
  { dao_Fl_Menu__menu, "menu( self : Fl_Menu_ )=>Fl_Menu_Item" },
  { dao_Fl_Menu__menu_dao_2, "menu( self : Fl_Menu_, m : Fl_Menu_Item )" },
  { dao_Fl_Menu__mode_dao_2, "mode( self : Fl_Menu_, i : int )=>int" },
  { dao_Fl_Menu__mode, "mode( self : Fl_Menu_, i : int, fl : int )" },
  { dao_Fl_Menu__mvalue, "mvalue( self : Fl_Menu_ )=>Fl_Menu_Item" },
  { dao_Fl_Menu__picked, "picked( self : Fl_Menu_, _cp0 : Fl_Menu_Item )=>Fl_Menu_Item" },
  { dao_Fl_Menu__remove, "remove( self : Fl_Menu_, _cp0 : int )" },
  { dao_Fl_Menu__replace, "replace( self : Fl_Menu_, _cp0 : int, _cp1 : string )" },
  { dao_Fl_Menu__shortcut, "shortcut( self : Fl_Menu_, i : int, s : int )" },
  { dao_Fl_Menu__size, "size( self : Fl_Menu_ )=>int" },
  { dao_Fl_Menu__size_dao_2, "size( self : Fl_Menu_, W : int, H : int )" },
  { dao_Fl_Menu__test_shortcut, "test_shortcut( self : Fl_Menu_ )=>Fl_Menu_Item" },
  { dao_Fl_Menu__text, "text( self : Fl_Menu_ )=>string" },
  { dao_Fl_Menu__text_dao_2, "text( self : Fl_Menu_, i : int )=>string" },
  { dao_Fl_Menu__textcolor, "textcolor( self : Fl_Menu_ )=>int" },
  { dao_Fl_Menu__textcolor_dao_2, "textcolor( self : Fl_Menu_, c : int )" },
  { dao_Fl_Menu__textfont, "textfont( self : Fl_Menu_ )=>int" },
  { dao_Fl_Menu__textfont_dao_2, "textfont( self : Fl_Menu_, c : int )" },
  { dao_Fl_Menu__textsize, "textsize( self : Fl_Menu_ )=>int" },
  { dao_Fl_Menu__textsize_dao_2, "textsize( self : Fl_Menu_, c : int )" },
  { dao_Fl_Menu__value, "value( self : Fl_Menu_ )=>int" },
  { dao_Fl_Menu__value_dao_2, "value( self : Fl_Menu_, _cp0 : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu__value_dao_3, "value( self : Fl_Menu_, i : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Menu__Delete( void *self )
{
	delete (Fl_Menu_*) self;
}
void* dao_cast_Fl_Menu__to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_Menu_*)data;
}

static DaoTypeBase Fl_Menu__Typer = 
{ "Fl_Menu_", NULL, 
  dao_Fl_Menu__Nums,
  dao_Fl_Menu__Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_Menu__to_Fl_Widget,0 },
  Dao_Fl_Menu__Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Menu__Typer = & Fl_Menu__Typer;
/* Fl_Menu_.H */
static void dao_Fl_Menu__Fl_Menu_( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int _cp1= (int) _p[1]->v.i;
  int _cp2= (int) _p[2]->v.i;
  int _cp3= (int) _p[3]->v.i;
  char* _cp4= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Menu_ *_self = DaoCxx_Fl_Menu__New( _cp0, _cp1, _cp2, _cp3, _cp4 );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__add_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  char* _cp0= (char*) DValue_GetMBString( _p[1] );
  int _add = self->Fl_Menu_::add( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _add );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__add_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  char* s= (char*) DValue_GetMBString( _p[1] );
  char* sc= (char*) DValue_GetMBString( _p[2] );
  DaoMethod *_ro = (DaoMethod*) _p[3]->v.p;
  Fl_Callback *cb = Dao_Fl_Callback;
  DValue *_ud = _p[4];
  DaoCallbackData *userdata = DaoCallbackData_New( _ro, *_ud );
  if( userdata == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR_PARAM, "invalid callback" );
	return;
  }
  int i= (int) _p[5]->v.i;
  int _add = self->Fl_Menu_::add( s, sc, cb, userdata, i );
  DaoContext_PutInteger( _ctx, (int) _add );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__add( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  char* s= (char*) DValue_GetMBString( _p[1] );
  int sc= (int) _p[2]->v.i;
  DaoMethod *_ro = (DaoMethod*) _p[3]->v.p;
  Fl_Callback *cb = Dao_Fl_Callback;
  DValue *_ud = _p[4];
  DaoCallbackData *userdata = DaoCallbackData_New( _ro, *_ud );
  if( userdata == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR_PARAM, "invalid callback" );
	return;
  }
  int i= (int) _p[5]->v.i;
  int _add = self->Fl_Menu_::add( s, sc, cb, userdata, i );
  DaoContext_PutInteger( _ctx, (int) _add );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  self->Fl_Menu_::clear(  );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__copy( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Menu_Item* m= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  void* user_data= (void*) DValue_GetCData( _p[2] );
  self->Fl_Menu_::copy( m, user_data );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__down_box( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Boxtype _down_box = self->Fl_Menu_::down_box(  );
  DaoContext_PutInteger( _ctx, (int) _down_box );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__down_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Boxtype b= (Fl_Boxtype) _p[1]->v.i;
  self->Fl_Menu_::down_box( b );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__down_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Color _down_color = self->Fl_Menu_::down_color(  );
  DaoContext_PutInteger( _ctx, (int) _down_color );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__down_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  unsigned c= (unsigned) _p[1]->v.i;
  self->Fl_Menu_::down_color( c );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__find_item( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  char* name= (char*) DValue_GetMBString( _p[1] );
  const Fl_Menu_Item* _find_item = self->Fl_Menu_::find_item( name );
  DaoContext_WrapCData( _ctx, (void*) _find_item, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__global( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  self->Fl_Menu_::global(  );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__item_pathname( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  char* name= (char*) DValue_GetMBString( _p[1] );
  int namelen= (int) _p[2]->v.i;
  Fl_Menu_Item* finditem= (Fl_Menu_Item*) DValue_CastCData( _p[3], dao_Fl_Menu_Item_Typer );
  int _item_pathname = self->Fl_Menu_::item_pathname( name, namelen, finditem );
  DString_SetMBS( _p[1]->v.s, (char*) name );
  DaoContext_PutInteger( _ctx, (int) _item_pathname );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__menu( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  const Fl_Menu_Item* _menu = self->Fl_Menu_::menu(  );
  DaoContext_WrapCData( _ctx, (void*) _menu, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__menu_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Menu_Item* m= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  self->Fl_Menu_::menu( m );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__mode_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  int i= (int) _p[1]->v.i;
  int _mode = self->Fl_Menu_::mode( i );
  DaoContext_PutInteger( _ctx, (int) _mode );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__mode( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  int i= (int) _p[1]->v.i;
  int fl= (int) _p[2]->v.i;
  self->Fl_Menu_::mode( i, fl );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__mvalue( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  const Fl_Menu_Item* _mvalue = self->Fl_Menu_::mvalue(  );
  DaoContext_WrapCData( _ctx, (void*) _mvalue, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__picked( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Menu_Item* _cp0= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  const Fl_Menu_Item* _picked = self->Fl_Menu_::picked( _cp0 );
  DaoContext_WrapCData( _ctx, (void*) _picked, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  int _cp0= (int) _p[1]->v.i;
  self->Fl_Menu_::remove( _cp0 );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__replace( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  int _cp0= (int) _p[1]->v.i;
  char* _cp1= (char*) DValue_GetMBString( _p[2] );
  self->Fl_Menu_::replace( _cp0, _cp1 );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__shortcut( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  int i= (int) _p[1]->v.i;
  int s= (int) _p[2]->v.i;
  self->Fl_Menu_::shortcut( i, s );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  int _size = self->Fl_Menu_::size(  );
  DaoContext_PutInteger( _ctx, (int) _size );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__size_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  self->Fl_Menu_::size( W, H );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__test_shortcut( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  const Fl_Menu_Item* _test_shortcut = self->Fl_Menu_::test_shortcut(  );
  DaoContext_WrapCData( _ctx, (void*) _test_shortcut, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__text( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  const char* _text = self->Fl_Menu_::text(  );
  DaoContext_PutMBString( _ctx, (char*) _text );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__text_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  int i= (int) _p[1]->v.i;
  const char* _text = self->Fl_Menu_::text( i );
  DaoContext_PutMBString( _ctx, (char*) _text );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Color _textcolor = self->Fl_Menu_::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  self->Fl_Menu_::textcolor( c );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Font _textfont = self->Fl_Menu_::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Font c= (Fl_Font) _p[1]->v.i;
  self->Fl_Menu_::textfont( c );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Fontsize _textsize = self->Fl_Menu_::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Fontsize c= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Menu_::textsize( c );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  int _value = self->Fl_Menu_::value(  );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  Fl_Menu_Item* _cp0= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  int _value = self->Fl_Menu_::value( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Menu_.H */
static void dao_Fl_Menu__value_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_* self= (Fl_Menu_*) DValue_CastCData( _p[0], dao_Fl_Menu__Typer );
  int i= (int) _p[1]->v.i;
  int _value = self->Fl_Menu_::value( i );
  DaoContext_PutInteger( _ctx, (int) _value );
}

/*  Fl_Choice.H */


static DaoNumItem dao_Fl_Choice_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Choice_Fl_Choice( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Choice_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Choice_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Choice_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Choice_value_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Choice_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Choice_Meths[] = 
{
  { dao_Fl_Choice_Fl_Choice, "Fl_Choice( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Choice" },
  { dao_Fl_Choice_draw, "draw( self : Fl_Choice )" },
  { dao_Fl_Choice_handle, "handle( self : Fl_Choice, _cp0 : int )=>int" },
  { dao_Fl_Choice_value, "value( self : Fl_Choice )=>int" },
  { dao_Fl_Choice_value_dao_3, "value( self : Fl_Choice, v : Fl_Menu_Item )=>int" },
  { dao_Fl_Choice_value_dao_2, "value( self : Fl_Choice, v : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Choice_Delete( void *self )
{
	delete (Fl_Choice*) self;
}
void* dao_cast_Fl_Choice_to_Fl_Menu_( void *data )
{
	return (Fl_Menu_*)(Fl_Choice*)data;
}

static DaoTypeBase Fl_Choice_Typer = 
{ "Fl_Choice", NULL, 
  dao_Fl_Choice_Nums,
  dao_Fl_Choice_Meths, 
  { dao_Fl_Menu__Typer, 0 },
  { dao_cast_Fl_Choice_to_Fl_Menu_,0 },
  Dao_Fl_Choice_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Choice_Typer = & Fl_Choice_Typer;
/* Fl_Choice.H */
static void dao_Fl_Choice_Fl_Choice( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Choice *_self = DaoCxx_Fl_Choice_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Choice.H */
static void dao_Fl_Choice_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Choice *self = (DaoCxx_Fl_Choice*) DValue_CastCData( _p[0], dao_Fl_Choice_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Choice.H */
static void dao_Fl_Choice_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Choice* self= (Fl_Choice*) DValue_CastCData( _p[0], dao_Fl_Choice_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Choice::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Choice.H */
static void dao_Fl_Choice_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Choice* self= (Fl_Choice*) DValue_CastCData( _p[0], dao_Fl_Choice_Typer );
  int _value = self->Fl_Choice::value(  );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Choice.H */
static void dao_Fl_Choice_value_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Choice* self= (Fl_Choice*) DValue_CastCData( _p[0], dao_Fl_Choice_Typer );
  Fl_Menu_Item* v= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  int _value = self->Fl_Choice::value( v );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Choice.H */
static void dao_Fl_Choice_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Choice* self= (Fl_Choice*) DValue_CastCData( _p[0], dao_Fl_Choice_Typer );
  int v= (int) _p[1]->v.i;
  int _value = self->Fl_Choice::value( v );
  DaoContext_PutInteger( _ctx, (int) _value );
}

/*  Fl_Clock.H */


static DaoNumItem dao_Fl_Clock_Output_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Clock_Output_Fl_Clock_Output( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Clock_Output_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Clock_Output_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Clock_Output_hour( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Clock_Output_minute( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Clock_Output_second( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Clock_Output_value_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Clock_Output_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Clock_Output_value( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Clock_Output_Meths[] = 
{
  { dao_Fl_Clock_Output_Fl_Clock_Output, "Fl_Clock_Output( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Clock_Output" },
  { dao_Fl_Clock_Output_draw, "draw( self : Fl_Clock_Output )" },
  { dao_Fl_Clock_Output_draw_dao_2, "draw( self : Fl_Clock_Output, X : int, Y : int, W : int, H : int )" },
  { dao_Fl_Clock_Output_hour, "hour( self : Fl_Clock_Output )=>int" },
  { dao_Fl_Clock_Output_minute, "minute( self : Fl_Clock_Output )=>int" },
  { dao_Fl_Clock_Output_second, "second( self : Fl_Clock_Output )=>int" },
  { dao_Fl_Clock_Output_value_dao_3, "value( self : Fl_Clock_Output )=>int" },
  { dao_Fl_Clock_Output_value_dao_2, "value( self : Fl_Clock_Output, H : int, m : int, s : int )" },
  { dao_Fl_Clock_Output_value, "value( self : Fl_Clock_Output, v : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Clock_Output_Delete( void *self )
{
	delete (Fl_Clock_Output*) self;
}
void* dao_cast_Fl_Clock_Output_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_Clock_Output*)data;
}

static DaoTypeBase Fl_Clock_Output_Typer = 
{ "Fl_Clock_Output", NULL, 
  dao_Fl_Clock_Output_Nums,
  dao_Fl_Clock_Output_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_Clock_Output_to_Fl_Widget,0 },
  Dao_Fl_Clock_Output_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Clock_Output_Typer = & Fl_Clock_Output_Typer;
/* Fl_Clock.H */
static void dao_Fl_Clock_Output_Fl_Clock_Output( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Clock_Output *_self = DaoCxx_Fl_Clock_Output_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Clock.H */
static void dao_Fl_Clock_Output_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Clock_Output *self = (DaoCxx_Fl_Clock_Output*) DValue_CastCData( _p[0], dao_Fl_Clock_Output_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Clock.H */
static void dao_Fl_Clock_Output_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Clock_Output *self = (DaoCxx_Fl_Clock_Output*) DValue_CastCData( _p[0], dao_Fl_Clock_Output_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  self->DaoWrap_draw( X, Y, W, H );
}
/* Fl_Clock.H */
static void dao_Fl_Clock_Output_hour( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Clock_Output* self= (Fl_Clock_Output*) DValue_CastCData( _p[0], dao_Fl_Clock_Output_Typer );
  int _hour = self->Fl_Clock_Output::hour(  );
  DaoContext_PutInteger( _ctx, (int) _hour );
}
/* Fl_Clock.H */
static void dao_Fl_Clock_Output_minute( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Clock_Output* self= (Fl_Clock_Output*) DValue_CastCData( _p[0], dao_Fl_Clock_Output_Typer );
  int _minute = self->Fl_Clock_Output::minute(  );
  DaoContext_PutInteger( _ctx, (int) _minute );
}
/* Fl_Clock.H */
static void dao_Fl_Clock_Output_second( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Clock_Output* self= (Fl_Clock_Output*) DValue_CastCData( _p[0], dao_Fl_Clock_Output_Typer );
  int _second = self->Fl_Clock_Output::second(  );
  DaoContext_PutInteger( _ctx, (int) _second );
}
/* Fl_Clock.H */
static void dao_Fl_Clock_Output_value_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Clock_Output* self= (Fl_Clock_Output*) DValue_CastCData( _p[0], dao_Fl_Clock_Output_Typer );
  ulong _value = self->Fl_Clock_Output::value(  );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Clock.H */
static void dao_Fl_Clock_Output_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Clock_Output* self= (Fl_Clock_Output*) DValue_CastCData( _p[0], dao_Fl_Clock_Output_Typer );
  int H= (int) _p[1]->v.i;
  int m= (int) _p[2]->v.i;
  int s= (int) _p[3]->v.i;
  self->Fl_Clock_Output::value( H, m, s );
}
/* Fl_Clock.H */
static void dao_Fl_Clock_Output_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Clock_Output* self= (Fl_Clock_Output*) DValue_CastCData( _p[0], dao_Fl_Clock_Output_Typer );
  ulong v= (ulong) _p[1]->v.i;
  self->Fl_Clock_Output::value( v );
}

/*  Fl_Clock.H */


static DaoNumItem dao_Fl_Clock_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Clock_Fl_Clock( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Clock_Fl_Clock_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Clock_handle( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Clock_Meths[] = 
{
  { dao_Fl_Clock_Fl_Clock, "Fl_Clock( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Clock" },
  { dao_Fl_Clock_Fl_Clock_dao_2, "Fl_Clock( t : int, X : int, Y : int, W : int, H : int, L : string )=>Fl_Clock" },
  { dao_Fl_Clock_handle, "handle( self : Fl_Clock, _cp0 : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Clock_Delete( void *self )
{
	delete (Fl_Clock*) self;
}
void* dao_cast_Fl_Clock_to_Fl_Clock_Output( void *data )
{
	return (Fl_Clock_Output*)(Fl_Clock*)data;
}

static DaoTypeBase Fl_Clock_Typer = 
{ "Fl_Clock", NULL, 
  dao_Fl_Clock_Nums,
  dao_Fl_Clock_Meths, 
  { dao_Fl_Clock_Output_Typer, 0 },
  { dao_cast_Fl_Clock_to_Fl_Clock_Output,0 },
  Dao_Fl_Clock_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Clock_Typer = & Fl_Clock_Typer;
/* Fl_Clock.H */
static void dao_Fl_Clock_Fl_Clock( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Clock *_self = DaoCxx_Fl_Clock_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Clock.H */
static void dao_Fl_Clock_Fl_Clock_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  uchar t= (uchar) _p[0]->v.i;
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  char* L= (char*) DValue_GetMBString( _p[5] );
	DaoCxx_Fl_Clock *_self = DaoCxx_Fl_Clock_New( t, X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Clock.H */
static void dao_Fl_Clock_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Clock* self= (Fl_Clock*) DValue_CastCData( _p[0], dao_Fl_Clock_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Clock::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}

/*  Fl_Color_Chooser.H */


static DaoNumItem dao_Fl_Color_Chooser_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Color_Chooser_Fl_Color_Chooser( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Color_Chooser_b( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Color_Chooser_g( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Color_Chooser_hsv( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Color_Chooser_hsv2rgb( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Color_Chooser_hue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Color_Chooser_mode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Color_Chooser_r( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Color_Chooser_rgb( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Color_Chooser_rgb2hsv( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Color_Chooser_saturation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Color_Chooser_value( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Color_Chooser_Meths[] = 
{
  { dao_Fl_Color_Chooser_Fl_Color_Chooser, "Fl_Color_Chooser( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Color_Chooser" },
  { dao_Fl_Color_Chooser_b, "b( self : Fl_Color_Chooser )=>double" },
  { dao_Fl_Color_Chooser_g, "g( self : Fl_Color_Chooser )=>double" },
  { dao_Fl_Color_Chooser_hsv, "hsv( self : Fl_Color_Chooser, H : double, S : double, V : double )=>int" },
  { dao_Fl_Color_Chooser_hsv2rgb, "hsv2rgb( H : double, S : double, V : double, R : double, G : double, B : double )" },
  { dao_Fl_Color_Chooser_hue, "hue( self : Fl_Color_Chooser )=>double" },
  { dao_Fl_Color_Chooser_mode, "mode( self : Fl_Color_Chooser )=>int" },
  { dao_Fl_Color_Chooser_r, "r( self : Fl_Color_Chooser )=>double" },
  { dao_Fl_Color_Chooser_rgb, "rgb( self : Fl_Color_Chooser, R : double, G : double, B : double )=>int" },
  { dao_Fl_Color_Chooser_rgb2hsv, "rgb2hsv( R : double, G : double, B : double, H : double, S : double, V : double )" },
  { dao_Fl_Color_Chooser_saturation, "saturation( self : Fl_Color_Chooser )=>double" },
  { dao_Fl_Color_Chooser_value, "value( self : Fl_Color_Chooser )=>double" },
  { NULL, NULL }
};
static void Dao_Fl_Color_Chooser_Delete( void *self )
{
	delete (Fl_Color_Chooser*) self;
}
void* dao_cast_Fl_Color_Chooser_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Color_Chooser*)data;
}

static DaoTypeBase Fl_Color_Chooser_Typer = 
{ "Fl_Color_Chooser", NULL, 
  dao_Fl_Color_Chooser_Nums,
  dao_Fl_Color_Chooser_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Color_Chooser_to_Fl_Group,0 },
  Dao_Fl_Color_Chooser_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Color_Chooser_Typer = & Fl_Color_Chooser_Typer;
/* Fl_Color_Chooser.H */
static void dao_Fl_Color_Chooser_Fl_Color_Chooser( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Color_Chooser *_self = DaoCxx_Fl_Color_Chooser_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Color_Chooser.H */
static void dao_Fl_Color_Chooser_b( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color_Chooser* self= (Fl_Color_Chooser*) DValue_CastCData( _p[0], dao_Fl_Color_Chooser_Typer );
  double _b = self->Fl_Color_Chooser::b(  );
  DaoContext_PutDouble( _ctx, (double) _b );
}
/* Fl_Color_Chooser.H */
static void dao_Fl_Color_Chooser_g( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color_Chooser* self= (Fl_Color_Chooser*) DValue_CastCData( _p[0], dao_Fl_Color_Chooser_Typer );
  double _g = self->Fl_Color_Chooser::g(  );
  DaoContext_PutDouble( _ctx, (double) _g );
}
/* Fl_Color_Chooser.H */
static void dao_Fl_Color_Chooser_hsv( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color_Chooser* self= (Fl_Color_Chooser*) DValue_CastCData( _p[0], dao_Fl_Color_Chooser_Typer );
  double H= (double) _p[1]->v.d;
  double S= (double) _p[2]->v.d;
  double V= (double) _p[3]->v.d;
  int _hsv = self->Fl_Color_Chooser::hsv( H, S, V );
  DaoContext_PutInteger( _ctx, (int) _hsv );
}
/* Fl_Color_Chooser.H */
static void dao_Fl_Color_Chooser_hsv2rgb( DaoContext *_ctx, DValue *_p[], int _n )
{
  double H= (double) _p[0]->v.d;
  double S= (double) _p[1]->v.d;
  double V= (double) _p[2]->v.d;
  double R= (double) _p[3]->v.d;
  double G= (double) _p[4]->v.d;
  double B= (double) _p[5]->v.d;
  Fl_Color_Chooser::hsv2rgb( H, S, V, R, G, B );
  _p[3]->v.d = (double) R;
  _p[4]->v.d = (double) G;
  _p[5]->v.d = (double) B;
}
/* Fl_Color_Chooser.H */
static void dao_Fl_Color_Chooser_hue( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color_Chooser* self= (Fl_Color_Chooser*) DValue_CastCData( _p[0], dao_Fl_Color_Chooser_Typer );
  double _hue = self->Fl_Color_Chooser::hue(  );
  DaoContext_PutDouble( _ctx, (double) _hue );
}
/* Fl_Color_Chooser.H */
static void dao_Fl_Color_Chooser_mode( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color_Chooser* self= (Fl_Color_Chooser*) DValue_CastCData( _p[0], dao_Fl_Color_Chooser_Typer );
  int _mode = self->Fl_Color_Chooser::mode(  );
  DaoContext_PutInteger( _ctx, (int) _mode );
}
/* Fl_Color_Chooser.H */
static void dao_Fl_Color_Chooser_r( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color_Chooser* self= (Fl_Color_Chooser*) DValue_CastCData( _p[0], dao_Fl_Color_Chooser_Typer );
  double _r = self->Fl_Color_Chooser::r(  );
  DaoContext_PutDouble( _ctx, (double) _r );
}
/* Fl_Color_Chooser.H */
static void dao_Fl_Color_Chooser_rgb( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color_Chooser* self= (Fl_Color_Chooser*) DValue_CastCData( _p[0], dao_Fl_Color_Chooser_Typer );
  double R= (double) _p[1]->v.d;
  double G= (double) _p[2]->v.d;
  double B= (double) _p[3]->v.d;
  int _rgb = self->Fl_Color_Chooser::rgb( R, G, B );
  DaoContext_PutInteger( _ctx, (int) _rgb );
}
/* Fl_Color_Chooser.H */
static void dao_Fl_Color_Chooser_rgb2hsv( DaoContext *_ctx, DValue *_p[], int _n )
{
  double R= (double) _p[0]->v.d;
  double G= (double) _p[1]->v.d;
  double B= (double) _p[2]->v.d;
  double H= (double) _p[3]->v.d;
  double S= (double) _p[4]->v.d;
  double V= (double) _p[5]->v.d;
  Fl_Color_Chooser::rgb2hsv( R, G, B, H, S, V );
  _p[3]->v.d = (double) H;
  _p[4]->v.d = (double) S;
  _p[5]->v.d = (double) V;
}
/* Fl_Color_Chooser.H */
static void dao_Fl_Color_Chooser_saturation( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color_Chooser* self= (Fl_Color_Chooser*) DValue_CastCData( _p[0], dao_Fl_Color_Chooser_Typer );
  double _saturation = self->Fl_Color_Chooser::saturation(  );
  DaoContext_PutDouble( _ctx, (double) _saturation );
}
/* Fl_Color_Chooser.H */
static void dao_Fl_Color_Chooser_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color_Chooser* self= (Fl_Color_Chooser*) DValue_CastCData( _p[0], dao_Fl_Color_Chooser_Typer );
  double _value = self->Fl_Color_Chooser::value(  );
  DaoContext_PutDouble( _ctx, (double) _value );
}

/*  Fl_Counter.H */


static DaoNumItem dao_Fl_Counter_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Counter_Fl_Counter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Counter_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Counter_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Counter_lstep( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Counter_step_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Counter_step_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Counter_step( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Counter_textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Counter_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Counter_textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Counter_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Counter_textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Counter_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Counter_Meths[] = 
{
  { dao_Fl_Counter_Fl_Counter, "Fl_Counter( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Counter" },
  { dao_Fl_Counter_draw, "draw( self : Fl_Counter )" },
  { dao_Fl_Counter_handle, "handle( self : Fl_Counter, _cp0 : int )=>int" },
  { dao_Fl_Counter_lstep, "lstep( self : Fl_Counter, a : double )" },
  { dao_Fl_Counter_step_dao_3, "step( self : Fl_Counter )=>double" },
  { dao_Fl_Counter_step_dao_2, "step( self : Fl_Counter, a : double )" },
  { dao_Fl_Counter_step, "step( self : Fl_Counter, a : double, b : double )" },
  { dao_Fl_Counter_textcolor, "textcolor( self : Fl_Counter )=>int" },
  { dao_Fl_Counter_textcolor_dao_2, "textcolor( self : Fl_Counter, s : int )" },
  { dao_Fl_Counter_textfont, "textfont( self : Fl_Counter )=>int" },
  { dao_Fl_Counter_textfont_dao_2, "textfont( self : Fl_Counter, s : int )" },
  { dao_Fl_Counter_textsize, "textsize( self : Fl_Counter )=>int" },
  { dao_Fl_Counter_textsize_dao_2, "textsize( self : Fl_Counter, s : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Counter_Delete( void *self )
{
	delete (Fl_Counter*) self;
}
void* dao_cast_Fl_Counter_to_Fl_Valuator( void *data )
{
	return (Fl_Valuator*)(Fl_Counter*)data;
}

static DaoTypeBase Fl_Counter_Typer = 
{ "Fl_Counter", NULL, 
  dao_Fl_Counter_Nums,
  dao_Fl_Counter_Meths, 
  { dao_Fl_Valuator_Typer, 0 },
  { dao_cast_Fl_Counter_to_Fl_Valuator,0 },
  Dao_Fl_Counter_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Counter_Typer = & Fl_Counter_Typer;
/* Fl_Counter.H */
static void dao_Fl_Counter_Fl_Counter( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Counter *_self = DaoCxx_Fl_Counter_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Counter.H */
static void dao_Fl_Counter_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Counter *self = (DaoCxx_Fl_Counter*) DValue_CastCData( _p[0], dao_Fl_Counter_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Counter.H */
static void dao_Fl_Counter_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Counter* self= (Fl_Counter*) DValue_CastCData( _p[0], dao_Fl_Counter_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Counter::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Counter.H */
static void dao_Fl_Counter_lstep( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Counter* self= (Fl_Counter*) DValue_CastCData( _p[0], dao_Fl_Counter_Typer );
  double a= (double) _p[1]->v.d;
  self->Fl_Counter::lstep( a );
}
/* Fl_Counter.H */
static void dao_Fl_Counter_step_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Counter* self= (Fl_Counter*) DValue_CastCData( _p[0], dao_Fl_Counter_Typer );
  double _step = self->Fl_Counter::step(  );
  DaoContext_PutDouble( _ctx, (double) _step );
}
/* Fl_Counter.H */
static void dao_Fl_Counter_step_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Counter* self= (Fl_Counter*) DValue_CastCData( _p[0], dao_Fl_Counter_Typer );
  double a= (double) _p[1]->v.d;
  self->Fl_Counter::step( a );
}
/* Fl_Counter.H */
static void dao_Fl_Counter_step( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Counter* self= (Fl_Counter*) DValue_CastCData( _p[0], dao_Fl_Counter_Typer );
  double a= (double) _p[1]->v.d;
  double b= (double) _p[2]->v.d;
  self->Fl_Counter::step( a, b );
}
/* Fl_Counter.H */
static void dao_Fl_Counter_textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Counter* self= (Fl_Counter*) DValue_CastCData( _p[0], dao_Fl_Counter_Typer );
  Fl_Color _textcolor = self->Fl_Counter::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Counter.H */
static void dao_Fl_Counter_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Counter* self= (Fl_Counter*) DValue_CastCData( _p[0], dao_Fl_Counter_Typer );
  Fl_Color s= (Fl_Color) _p[1]->v.i;
  self->Fl_Counter::textcolor( s );
}
/* Fl_Counter.H */
static void dao_Fl_Counter_textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Counter* self= (Fl_Counter*) DValue_CastCData( _p[0], dao_Fl_Counter_Typer );
  Fl_Font _textfont = self->Fl_Counter::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_Counter.H */
static void dao_Fl_Counter_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Counter* self= (Fl_Counter*) DValue_CastCData( _p[0], dao_Fl_Counter_Typer );
  Fl_Font s= (Fl_Font) _p[1]->v.i;
  self->Fl_Counter::textfont( s );
}
/* Fl_Counter.H */
static void dao_Fl_Counter_textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Counter* self= (Fl_Counter*) DValue_CastCData( _p[0], dao_Fl_Counter_Typer );
  Fl_Fontsize _textsize = self->Fl_Counter::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Counter.H */
static void dao_Fl_Counter_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Counter* self= (Fl_Counter*) DValue_CastCData( _p[0], dao_Fl_Counter_Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Counter::textsize( s );
}

/*  Fl_Plugin.H */


static DaoNumItem dao_Fl_Plugin_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Plugin_Fl_Plugin( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Plugin_Meths[] = 
{
  { dao_Fl_Plugin_Fl_Plugin, "Fl_Plugin( klass : string, name : string )=>Fl_Plugin" },
  { NULL, NULL }
};
static void Dao_Fl_Plugin_Delete( void *self )
{
	delete (Fl_Plugin*) self;
}

static DaoTypeBase Fl_Plugin_Typer = 
{ "Fl_Plugin", NULL, 
  dao_Fl_Plugin_Nums,
  dao_Fl_Plugin_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Plugin_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Plugin_Typer = & Fl_Plugin_Typer;
/* Fl_Plugin.H */
static void dao_Fl_Plugin_Fl_Plugin( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* klass= (char*) DValue_GetMBString( _p[0] );
  char* name= (char*) DValue_GetMBString( _p[1] );
	Fl_Plugin *_self = Dao_Fl_Plugin_New( klass, name );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Plugin_Typer );
}

/*  Fl_Device.H */


static DaoNumItem dao_Fl_Device_Plugin_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Device_Plugin_Fl_Device_Plugin( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_Plugin_klass__Fl_Device_Plugin( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_Plugin_klass( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_Plugin_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_Plugin_print__Fl_Device_Plugin( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Device_Plugin_print( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Device_Plugin_Meths[] = 
{
  { dao_Fl_Device_Plugin_Fl_Device_Plugin, "Fl_Device_Plugin( name : string )=>Fl_Device_Plugin" },
  { dao_Fl_Device_Plugin_klass, "klass( self : Fl_Device_Plugin )=>string" },
  { dao_Fl_Device_Plugin_name, "name( self : Fl_Device_Plugin )=>string" },
  { dao_Fl_Device_Plugin_print, "print( self : Fl_Device_Plugin, _cp0 : Fl_Abstract_Printer, _cp1 : Fl_Widget, x : int, y : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Device_Plugin_Delete( void *self )
{
	delete (Fl_Device_Plugin*) self;
}
void* dao_cast_Fl_Device_Plugin_to_Fl_Plugin( void *data )
{
	return (Fl_Plugin*)(Fl_Device_Plugin*)data;
}

static DaoTypeBase Fl_Device_Plugin_Typer = 
{ "Fl_Device_Plugin", NULL, 
  dao_Fl_Device_Plugin_Nums,
  dao_Fl_Device_Plugin_Meths, 
  { dao_Fl_Plugin_Typer, 0 },
  { dao_cast_Fl_Device_Plugin_to_Fl_Plugin,0 },
  Dao_Fl_Device_Plugin_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Device_Plugin_Typer = & Fl_Device_Plugin_Typer;
/* Fl_Device.H */
static void dao_Fl_Device_Plugin_Fl_Device_Plugin( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* name= (char*) DValue_GetMBString( _p[0] );
	DaoCxx_Fl_Device_Plugin *_self = DaoCxx_Fl_Device_Plugin_New( name );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Device.H */
static void dao_Fl_Device_Plugin_klass__Fl_Device_Plugin( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Device_Plugin* self= (Fl_Device_Plugin*) DValue_CastCData( _p[0], dao_Fl_Device_Plugin_Typer );
  const char* _klass = self->Fl_Device_Plugin::klass(  );
  DaoContext_PutMBString( _ctx, (char*) _klass );
}
/* Fl_Device.H */
static void dao_Fl_Device_Plugin_klass( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Device_Plugin_klass__Fl_Device_Plugin( _ctx, _p, _n );
    return;
  }
  Fl_Device_Plugin* self= (Fl_Device_Plugin*) DValue_CastCData( _p[0], dao_Fl_Device_Plugin_Typer );
  const char* _klass = self->klass(  );
  DaoContext_PutMBString( _ctx, (char*) _klass );
}
/* Fl_Device.H */
static void dao_Fl_Device_Plugin_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Device_Plugin* self= (Fl_Device_Plugin*) DValue_CastCData( _p[0], dao_Fl_Device_Plugin_Typer );
  const char* _name = self->name(  );
  DaoContext_PutMBString( _ctx, (char*) _name );
}
/* Fl_Device.H */
static void dao_Fl_Device_Plugin_print__Fl_Device_Plugin( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Device_Plugin* self= (Fl_Device_Plugin*) DValue_CastCData( _p[0], dao_Fl_Device_Plugin_Typer );
  Fl_Abstract_Printer* _cp0= (Fl_Abstract_Printer*) DValue_CastCData( _p[1], dao_Fl_Abstract_Printer_Typer );
  Fl_Widget* _cp1= (Fl_Widget*) DValue_CastCData( _p[2], dao_Fl_Widget_Typer );
  int x= (int) _p[3]->v.i;
  int y= (int) _p[4]->v.i;
  int _print = self->Fl_Device_Plugin::print( _cp0, _cp1, x, y );
  DaoContext_PutInteger( _ctx, (int) _print );
}
/* Fl_Device.H */
static void dao_Fl_Device_Plugin_print( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Device_Plugin_print__Fl_Device_Plugin( _ctx, _p, _n );
    return;
  }
  Fl_Device_Plugin* self= (Fl_Device_Plugin*) DValue_CastCData( _p[0], dao_Fl_Device_Plugin_Typer );
  Fl_Abstract_Printer* _cp0= (Fl_Abstract_Printer*) DValue_CastCData( _p[1], dao_Fl_Abstract_Printer_Typer );
  Fl_Widget* _cp1= (Fl_Widget*) DValue_CastCData( _p[2], dao_Fl_Widget_Typer );
  int x= (int) _p[3]->v.i;
  int y= (int) _p[4]->v.i;
  int _print = self->print( _cp0, _cp1, x, y );
  DaoContext_PutInteger( _ctx, (int) _print );
}

/*  Fl_Dial.H */


static DaoNumItem dao_Fl_Dial_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Dial_Fl_Dial( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Dial_angle1( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Dial_angle1_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Dial_angle2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Dial_angle2_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Dial_angles( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Dial_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Dial_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Dial_handle_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Dial_handle( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Dial_Meths[] = 
{
  { dao_Fl_Dial_Fl_Dial, "Fl_Dial( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Dial" },
  { dao_Fl_Dial_angle1, "angle1( self : Fl_Dial )=>int" },
  { dao_Fl_Dial_angle1_dao_2, "angle1( self : Fl_Dial, a : int )" },
  { dao_Fl_Dial_angle2, "angle2( self : Fl_Dial )=>int" },
  { dao_Fl_Dial_angle2_dao_2, "angle2( self : Fl_Dial, a : int )" },
  { dao_Fl_Dial_angles, "angles( self : Fl_Dial, a : int, b : int )" },
  { dao_Fl_Dial_draw_dao_2, "draw( self : Fl_Dial )" },
  { dao_Fl_Dial_draw, "draw( self : Fl_Dial, X : int, Y : int, W : int, H : int )" },
  { dao_Fl_Dial_handle_dao_2, "handle( self : Fl_Dial, _cp0 : int )=>int" },
  { dao_Fl_Dial_handle, "handle( self : Fl_Dial, event : int, X : int, Y : int, W : int, H : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Dial_Delete( void *self )
{
	delete (Fl_Dial*) self;
}
void* dao_cast_Fl_Dial_to_Fl_Valuator( void *data )
{
	return (Fl_Valuator*)(Fl_Dial*)data;
}

static DaoTypeBase Fl_Dial_Typer = 
{ "Fl_Dial", NULL, 
  dao_Fl_Dial_Nums,
  dao_Fl_Dial_Meths, 
  { dao_Fl_Valuator_Typer, 0 },
  { dao_cast_Fl_Dial_to_Fl_Valuator,0 },
  Dao_Fl_Dial_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Dial_Typer = & Fl_Dial_Typer;
/* Fl_Dial.H */
static void dao_Fl_Dial_Fl_Dial( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Dial *_self = DaoCxx_Fl_Dial_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Dial.H */
static void dao_Fl_Dial_angle1( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Dial* self= (Fl_Dial*) DValue_CastCData( _p[0], dao_Fl_Dial_Typer );
  short _angle1 = self->Fl_Dial::angle1(  );
  DaoContext_PutInteger( _ctx, (int) _angle1 );
}
/* Fl_Dial.H */
static void dao_Fl_Dial_angle1_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Dial* self= (Fl_Dial*) DValue_CastCData( _p[0], dao_Fl_Dial_Typer );
  short a= (short) _p[1]->v.i;
  self->Fl_Dial::angle1( a );
}
/* Fl_Dial.H */
static void dao_Fl_Dial_angle2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Dial* self= (Fl_Dial*) DValue_CastCData( _p[0], dao_Fl_Dial_Typer );
  short _angle2 = self->Fl_Dial::angle2(  );
  DaoContext_PutInteger( _ctx, (int) _angle2 );
}
/* Fl_Dial.H */
static void dao_Fl_Dial_angle2_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Dial* self= (Fl_Dial*) DValue_CastCData( _p[0], dao_Fl_Dial_Typer );
  short a= (short) _p[1]->v.i;
  self->Fl_Dial::angle2( a );
}
/* Fl_Dial.H */
static void dao_Fl_Dial_angles( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Dial* self= (Fl_Dial*) DValue_CastCData( _p[0], dao_Fl_Dial_Typer );
  short a= (short) _p[1]->v.i;
  short b= (short) _p[2]->v.i;
  self->Fl_Dial::angles( a, b );
}
/* Fl_Dial.H */
static void dao_Fl_Dial_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Dial *self = (DaoCxx_Fl_Dial*) DValue_CastCData( _p[0], dao_Fl_Dial_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Dial.H */
static void dao_Fl_Dial_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Dial *self = (DaoCxx_Fl_Dial*) DValue_CastCData( _p[0], dao_Fl_Dial_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  self->DaoWrap_draw( X, Y, W, H );
}
/* Fl_Dial.H */
static void dao_Fl_Dial_handle_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Dial* self= (Fl_Dial*) DValue_CastCData( _p[0], dao_Fl_Dial_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Dial::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Dial.H */
static void dao_Fl_Dial_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Dial *self = (DaoCxx_Fl_Dial*) DValue_CastCData( _p[0], dao_Fl_Dial_Typer );
  int event= (int) _p[1]->v.i;
  int X= (int) _p[2]->v.i;
  int Y= (int) _p[3]->v.i;
  int W= (int) _p[4]->v.i;
  int H= (int) _p[5]->v.i;
  int _handle = self->DaoWrap_handle( event, X, Y, W, H );
  DaoContext_PutInteger( _ctx, (int) _handle );
}

/*  Fl_Device.H */


static DaoNumItem dao_Fl_Display_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Display_Fl_Display( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Display_Meths[] = 
{
  { dao_Fl_Display_Fl_Display, "Fl_Display(  )=>Fl_Display" },
  { NULL, NULL }
};
static void Dao_Fl_Display_Delete( void *self )
{
	delete (Fl_Display*) self;
}
void* dao_cast_Fl_Display_to_Fl_Device( void *data )
{
	return (Fl_Device*)(Fl_Display*)data;
}

static DaoTypeBase Fl_Display_Typer = 
{ "Fl_Display", NULL, 
  dao_Fl_Display_Nums,
  dao_Fl_Display_Meths, 
  { dao_Fl_Device_Typer, 0 },
  { dao_cast_Fl_Display_to_Fl_Device,0 },
  Dao_Fl_Display_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Display_Typer = & Fl_Display_Typer;
static void dao_Fl_Display_Fl_Display( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_Fl_Display *self = DaoCxx_Fl_Display_New();
	DaoContext_PutResult( _ctx, (DaoBase*) self->cdata );
}

/*  Fl_Double_Window.H */


static DaoNumItem dao_Fl_Double_Window_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Double_Window_Fl_Double_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Double_Window_Fl_Double_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Double_Window_flush_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Double_Window_flush( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Double_Window_hide( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Double_Window_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Double_Window_show( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Double_Window_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Double_Window_Meths[] = 
{
  { dao_Fl_Double_Window_Fl_Double_Window, "Fl_Double_Window( W : int, H : int, l : string|null=null )=>Fl_Double_Window" },
  { dao_Fl_Double_Window_Fl_Double_Window_dao_2, "Fl_Double_Window( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Double_Window" },
  { dao_Fl_Double_Window_flush_dao_2, "flush( self : Fl_Double_Window )" },
  { dao_Fl_Double_Window_flush, "flush( self : Fl_Double_Window, eraseoverlay : int )" },
  { dao_Fl_Double_Window_hide, "hide( self : Fl_Double_Window )" },
  { dao_Fl_Double_Window_resize, "resize( self : Fl_Double_Window, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Double_Window_show, "show( self : Fl_Double_Window )" },
  { dao_Fl_Double_Window_show_dao_2, "show( self : Fl_Double_Window, a : int, b : string )" },
  { NULL, NULL }
};
static void Dao_Fl_Double_Window_Delete( void *self )
{
	delete (Fl_Double_Window*) self;
}
void* dao_cast_Fl_Double_Window_to_Fl_Window( void *data )
{
	return (Fl_Window*)(Fl_Double_Window*)data;
}

static DaoTypeBase Fl_Double_Window_Typer = 
{ "Fl_Double_Window", NULL, 
  dao_Fl_Double_Window_Nums,
  dao_Fl_Double_Window_Meths, 
  { dao_Fl_Window_Typer, 0 },
  { dao_cast_Fl_Double_Window_to_Fl_Window,0 },
  Dao_Fl_Double_Window_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Double_Window_Typer = & Fl_Double_Window_Typer;
/* Fl_Double_Window.H */
static void dao_Fl_Double_Window_Fl_Double_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  int W= (int) _p[0]->v.i;
  int H= (int) _p[1]->v.i;
  char* l= (char*) DValue_GetMBString( _p[2] );
	DaoCxx_Fl_Double_Window *_self = DaoCxx_Fl_Double_Window_New( W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Double_Window.H */
static void dao_Fl_Double_Window_Fl_Double_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Double_Window *_self = DaoCxx_Fl_Double_Window_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Double_Window.H */
static void dao_Fl_Double_Window_flush_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Double_Window* self= (Fl_Double_Window*) DValue_CastCData( _p[0], dao_Fl_Double_Window_Typer );
  self->Fl_Double_Window::flush(  );
}
/* Fl_Double_Window.H */
static void dao_Fl_Double_Window_flush( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Double_Window *self = (DaoCxx_Fl_Double_Window*) DValue_CastCData( _p[0], dao_Fl_Double_Window_Typer );
  int eraseoverlay= (int) _p[1]->v.i;
  self->DaoWrap_flush( eraseoverlay );
}
/* Fl_Double_Window.H */
static void dao_Fl_Double_Window_hide( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Double_Window* self= (Fl_Double_Window*) DValue_CastCData( _p[0], dao_Fl_Double_Window_Typer );
  self->Fl_Double_Window::hide(  );
}
/* Fl_Double_Window.H */
static void dao_Fl_Double_Window_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Double_Window* self= (Fl_Double_Window*) DValue_CastCData( _p[0], dao_Fl_Double_Window_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->Fl_Double_Window::resize( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Double_Window.H */
static void dao_Fl_Double_Window_show( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Double_Window* self= (Fl_Double_Window*) DValue_CastCData( _p[0], dao_Fl_Double_Window_Typer );
  self->Fl_Double_Window::show(  );
}
/* Fl_Double_Window.H */
static void dao_Fl_Double_Window_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Double_Window* self= (Fl_Double_Window*) DValue_CastCData( _p[0], dao_Fl_Double_Window_Typer );
  int a= (int) _p[1]->v.i;
  char* b_old = (char*)DValue_GetMBString( _p[2] );
  size_t b_len = strlen( b_old );
  char* b = (char*) malloc( b_len + 1 );
  void* b_p = strncpy( b, b_old, b_len );
  self->Fl_Double_Window::show( a, & b );
  DString_SetMBS( _p[2]->v.s, (char*) b );
  free( b );
}

/*  Fl_Group.H */


static DaoNumItem dao_Fl_End_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_End_Fl_End( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_End_Meths[] = 
{
  { dao_Fl_End_Fl_End, "Fl_End(  )=>Fl_End" },
  { NULL, NULL }
};
static void Dao_Fl_End_Delete( void *self )
{
	delete (Fl_End*) self;
}

static DaoTypeBase Fl_End_Typer = 
{ "Fl_End", NULL, 
  dao_Fl_End_Nums,
  dao_Fl_End_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_End_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_End_Typer = & Fl_End_Typer;
/* Fl_Group.H */
static void dao_Fl_End_Fl_End( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_End *_self = Dao_Fl_End_New(  );
	DaoContext_PutCData( _ctx, _self, dao_Fl_End_Typer );
}

/*  Fl_File_Browser.H */


static DaoNumItem dao_Fl_File_Browser_Nums[] =
{
  { "FILES", DAO_INTEGER, Fl_File_Browser::FILES },
  { "DIRECTORIES", DAO_INTEGER, Fl_File_Browser::DIRECTORIES },
  { NULL, 0, 0 }
};
static void dao_Fl_File_Browser_Fl_File_Browser( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Browser_filetype( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Browser_filetype_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Browser_filter_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Browser_filter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Browser_iconsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Browser_iconsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Browser_textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Browser_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_File_Browser_Meths[] = 
{
  { dao_Fl_File_Browser_Fl_File_Browser, "Fl_File_Browser( _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : string|null=null )=>Fl_File_Browser" },
  { dao_Fl_File_Browser_filetype, "filetype( self : Fl_File_Browser )=>int" },
  { dao_Fl_File_Browser_filetype_dao_2, "filetype( self : Fl_File_Browser, t : int )" },
  { dao_Fl_File_Browser_filter_dao_2, "filter( self : Fl_File_Browser )=>string" },
  { dao_Fl_File_Browser_filter, "filter( self : Fl_File_Browser, pattern : string )" },
  { dao_Fl_File_Browser_iconsize, "iconsize( self : Fl_File_Browser )=>int" },
  { dao_Fl_File_Browser_iconsize_dao_2, "iconsize( self : Fl_File_Browser, s : int )" },
  { dao_Fl_File_Browser_textsize, "textsize( self : Fl_File_Browser )=>int" },
  { dao_Fl_File_Browser_textsize_dao_2, "textsize( self : Fl_File_Browser, s : int )" },
  { NULL, NULL }
};
static void Dao_Fl_File_Browser_Delete( void *self )
{
	delete (Fl_File_Browser*) self;
}
void* dao_cast_Fl_File_Browser_to_Fl_Browser( void *data )
{
	return (Fl_Browser*)(Fl_File_Browser*)data;
}

static DaoTypeBase Fl_File_Browser_Typer = 
{ "Fl_File_Browser", NULL, 
  dao_Fl_File_Browser_Nums,
  dao_Fl_File_Browser_Meths, 
  { dao_Fl_Browser_Typer, 0 },
  { dao_cast_Fl_File_Browser_to_Fl_Browser,0 },
  Dao_Fl_File_Browser_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_File_Browser_Typer = & Fl_File_Browser_Typer;
/* Fl_File_Browser.H */
static void dao_Fl_File_Browser_Fl_File_Browser( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int _cp1= (int) _p[1]->v.i;
  int _cp2= (int) _p[2]->v.i;
  int _cp3= (int) _p[3]->v.i;
  char* _cp4= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_File_Browser *_self = DaoCxx_Fl_File_Browser_New( _cp0, _cp1, _cp2, _cp3, _cp4 );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_File_Browser.H */
static void dao_Fl_File_Browser_filetype( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Browser* self= (Fl_File_Browser*) DValue_CastCData( _p[0], dao_Fl_File_Browser_Typer );
  int _filetype = self->Fl_File_Browser::filetype(  );
  DaoContext_PutInteger( _ctx, (int) _filetype );
}
/* Fl_File_Browser.H */
static void dao_Fl_File_Browser_filetype_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Browser* self= (Fl_File_Browser*) DValue_CastCData( _p[0], dao_Fl_File_Browser_Typer );
  int t= (int) _p[1]->v.i;
  self->Fl_File_Browser::filetype( t );
}
/* Fl_File_Browser.H */
static void dao_Fl_File_Browser_filter_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Browser* self= (Fl_File_Browser*) DValue_CastCData( _p[0], dao_Fl_File_Browser_Typer );
  const char* _filter = self->Fl_File_Browser::filter(  );
  DaoContext_PutMBString( _ctx, (char*) _filter );
}
/* Fl_File_Browser.H */
static void dao_Fl_File_Browser_filter( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Browser* self= (Fl_File_Browser*) DValue_CastCData( _p[0], dao_Fl_File_Browser_Typer );
  char* pattern= (char*) DValue_GetMBString( _p[1] );
  self->Fl_File_Browser::filter( pattern );
}
/* Fl_File_Browser.H */
static void dao_Fl_File_Browser_iconsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Browser* self= (Fl_File_Browser*) DValue_CastCData( _p[0], dao_Fl_File_Browser_Typer );
  uchar _iconsize = self->Fl_File_Browser::iconsize(  );
  DaoContext_PutInteger( _ctx, (int) _iconsize );
}
/* Fl_File_Browser.H */
static void dao_Fl_File_Browser_iconsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Browser* self= (Fl_File_Browser*) DValue_CastCData( _p[0], dao_Fl_File_Browser_Typer );
  uchar s= (uchar) _p[1]->v.i;
  self->Fl_File_Browser::iconsize( s );
}
/* Fl_File_Browser.H */
static void dao_Fl_File_Browser_textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Browser* self= (Fl_File_Browser*) DValue_CastCData( _p[0], dao_Fl_File_Browser_Typer );
  Fl_Fontsize _textsize = self->Fl_File_Browser::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_File_Browser.H */
static void dao_Fl_File_Browser_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Browser* self= (Fl_File_Browser*) DValue_CastCData( _p[0], dao_Fl_File_Browser_Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_File_Browser::textsize( s );
}

/*  Fl_File_Chooser.H */


static void dao_Fl_File_Chooser_GETF_newButton( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_previewButton( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_add_favorites_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_all_files_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_custom_filter_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_existing_file_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_favorites_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_filename_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_filesystems_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_manage_favorites_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_new_directory_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_new_directory_tooltip( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_preview_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_save_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_GETF_show_label( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_File_Chooser_Nums[] =
{
  { "SINGLE", DAO_INTEGER, Fl_File_Chooser::SINGLE },
  { "MULTI", DAO_INTEGER, Fl_File_Chooser::MULTI },
  { "CREATE", DAO_INTEGER, Fl_File_Chooser::CREATE },
  { "DIRECTORY", DAO_INTEGER, Fl_File_Chooser::DIRECTORY },
  { NULL, 0, 0 }
};
static void dao_Fl_File_Chooser_Fl_File_Chooser( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_add_extra( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_browser( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_count( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_directory_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_directory( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_filter_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_filter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_filter_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_filter_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_hide( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_iconsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_iconsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_ok_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_ok_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_preview_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_preview( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_rescan( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_rescan_keep_filename( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_show( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_shown( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_type_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_user_data( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_user_data_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Chooser_visible( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_File_Chooser_Meths[] = 
{
  { dao_Fl_File_Chooser_GETF_newButton, ".newButton( self : Fl_File_Chooser )=>Fl_Button" },
  { dao_Fl_File_Chooser_GETF_previewButton, ".previewButton( self : Fl_File_Chooser )=>Fl_Check_Button" },
  { dao_Fl_File_Chooser_GETF_add_favorites_label, ".add_favorites_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_GETF_all_files_label, ".all_files_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_GETF_custom_filter_label, ".custom_filter_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_GETF_existing_file_label, ".existing_file_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_GETF_favorites_label, ".favorites_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_GETF_filename_label, ".filename_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_GETF_filesystems_label, ".filesystems_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_GETF_manage_favorites_label, ".manage_favorites_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_GETF_new_directory_label, ".new_directory_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_GETF_new_directory_tooltip, ".new_directory_tooltip( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_GETF_preview_label, ".preview_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_GETF_save_label, ".save_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_GETF_show_label, ".show_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_Fl_File_Chooser, "Fl_File_Chooser( d : string, p : string, t : int, title : string )=>Fl_File_Chooser" },
  { dao_Fl_File_Chooser_add_extra, "add_extra( self : Fl_File_Chooser, gr : Fl_Widget )=>Fl_Widget" },
  { dao_Fl_File_Chooser_browser, "browser( self : Fl_File_Chooser )=>Fl_File_Browser" },
  { dao_Fl_File_Chooser_color_dao_2, "color( self : Fl_File_Chooser )=>int" },
  { dao_Fl_File_Chooser_color, "color( self : Fl_File_Chooser, c : int )" },
  { dao_Fl_File_Chooser_count, "count( self : Fl_File_Chooser )=>int" },
  { dao_Fl_File_Chooser_directory_dao_2, "directory( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_directory, "directory( self : Fl_File_Chooser, d : string )" },
  { dao_Fl_File_Chooser_filter_dao_2, "filter( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_filter, "filter( self : Fl_File_Chooser, p : string )" },
  { dao_Fl_File_Chooser_filter_value, "filter_value( self : Fl_File_Chooser )=>int" },
  { dao_Fl_File_Chooser_filter_value_dao_2, "filter_value( self : Fl_File_Chooser, f : int )" },
  { dao_Fl_File_Chooser_hide, "hide( self : Fl_File_Chooser )" },
  { dao_Fl_File_Chooser_iconsize_dao_2, "iconsize( self : Fl_File_Chooser )=>int" },
  { dao_Fl_File_Chooser_iconsize, "iconsize( self : Fl_File_Chooser, s : int )" },
  { dao_Fl_File_Chooser_label_dao_2, "label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_label, "label( self : Fl_File_Chooser, l : string )" },
  { dao_Fl_File_Chooser_ok_label_dao_2, "ok_label( self : Fl_File_Chooser )=>string" },
  { dao_Fl_File_Chooser_ok_label, "ok_label( self : Fl_File_Chooser, l : string )" },
  { dao_Fl_File_Chooser_preview_dao_2, "preview( self : Fl_File_Chooser )=>int" },
  { dao_Fl_File_Chooser_preview, "preview( self : Fl_File_Chooser, e : int )" },
  { dao_Fl_File_Chooser_rescan, "rescan( self : Fl_File_Chooser )" },
  { dao_Fl_File_Chooser_rescan_keep_filename, "rescan_keep_filename( self : Fl_File_Chooser )" },
  { dao_Fl_File_Chooser_show, "show( self : Fl_File_Chooser )" },
  { dao_Fl_File_Chooser_shown, "shown( self : Fl_File_Chooser )=>int" },
  { dao_Fl_File_Chooser_textcolor_dao_2, "textcolor( self : Fl_File_Chooser )=>int" },
  { dao_Fl_File_Chooser_textcolor, "textcolor( self : Fl_File_Chooser, c : int )" },
  { dao_Fl_File_Chooser_textfont_dao_2, "textfont( self : Fl_File_Chooser )=>int" },
  { dao_Fl_File_Chooser_textfont, "textfont( self : Fl_File_Chooser, f : int )" },
  { dao_Fl_File_Chooser_textsize_dao_2, "textsize( self : Fl_File_Chooser )=>int" },
  { dao_Fl_File_Chooser_textsize, "textsize( self : Fl_File_Chooser, s : int )" },
  { dao_Fl_File_Chooser_type_dao_2, "type( self : Fl_File_Chooser )=>int" },
  { dao_Fl_File_Chooser_type, "type( self : Fl_File_Chooser, t : int )" },
  { dao_Fl_File_Chooser_user_data, "user_data( self : Fl_File_Chooser )=>cdata" },
  { dao_Fl_File_Chooser_user_data_dao_2, "user_data( self : Fl_File_Chooser, d : cdata )" },
  { dao_Fl_File_Chooser_value_dao_2, "value( self : Fl_File_Chooser, filename : string )" },
  { dao_Fl_File_Chooser_value, "value( self : Fl_File_Chooser, f : int = 1 )=>string" },
  { dao_Fl_File_Chooser_visible, "visible( self : Fl_File_Chooser )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_File_Chooser_Delete( void *self )
{
	delete (Fl_File_Chooser*) self;
}

static DaoTypeBase Fl_File_Chooser_Typer = 
{ "Fl_File_Chooser", NULL, 
  dao_Fl_File_Chooser_Nums,
  dao_Fl_File_Chooser_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_File_Chooser_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_File_Chooser_Typer = & Fl_File_Chooser_Typer;
static void dao_Fl_File_Chooser_GETF_newButton( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->newButton, dao_Fl_Button_Typer );
}
static void dao_Fl_File_Chooser_GETF_previewButton( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->previewButton, dao_Fl_Check_Button_Typer );
}
static void dao_Fl_File_Chooser_GETF_add_favorites_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->add_favorites_label );
}
static void dao_Fl_File_Chooser_GETF_all_files_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->all_files_label );
}
static void dao_Fl_File_Chooser_GETF_custom_filter_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->custom_filter_label );
}
static void dao_Fl_File_Chooser_GETF_existing_file_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->existing_file_label );
}
static void dao_Fl_File_Chooser_GETF_favorites_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->favorites_label );
}
static void dao_Fl_File_Chooser_GETF_filename_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->filename_label );
}
static void dao_Fl_File_Chooser_GETF_filesystems_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->filesystems_label );
}
static void dao_Fl_File_Chooser_GETF_manage_favorites_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->manage_favorites_label );
}
static void dao_Fl_File_Chooser_GETF_new_directory_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->new_directory_label );
}
static void dao_Fl_File_Chooser_GETF_new_directory_tooltip( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->new_directory_tooltip );
}
static void dao_Fl_File_Chooser_GETF_preview_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->preview_label );
}
static void dao_Fl_File_Chooser_GETF_save_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->save_label );
}
static void dao_Fl_File_Chooser_GETF_show_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser *self = (Fl_File_Chooser*)DValue_CastCData(_p[0],dao_Fl_File_Chooser_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->show_label );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_Fl_File_Chooser( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* d= (char*) DValue_GetMBString( _p[0] );
  char* p= (char*) DValue_GetMBString( _p[1] );
  int t= (int) _p[2]->v.i;
  char* title= (char*) DValue_GetMBString( _p[3] );
	Fl_File_Chooser *_self = Dao_Fl_File_Chooser_New( d, p, t, title );
	DaoContext_PutCData( _ctx, _self, dao_Fl_File_Chooser_Typer );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_add_extra( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  Fl_Widget* gr= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  Fl_Widget* _add_extra = self->Fl_File_Chooser::add_extra( gr );
  DaoContext_WrapCData( _ctx, (void*) _add_extra, dao_Fl_Widget_Typer );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_browser( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  Fl_File_Browser* _browser = self->Fl_File_Chooser::browser(  );
  DaoContext_WrapCData( _ctx, (void*) _browser, dao_Fl_File_Browser_Typer );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  Fl_Color _color = self->Fl_File_Chooser::color(  );
  DaoContext_PutInteger( _ctx, (int) _color );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  self->Fl_File_Chooser::color( c );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_count( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  int _count = self->Fl_File_Chooser::count(  );
  DaoContext_PutInteger( _ctx, (int) _count );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_directory_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  char* _directory = self->Fl_File_Chooser::directory(  );
  DaoContext_PutMBString( _ctx, (char*) _directory );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_directory( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  char* d= (char*) DValue_GetMBString( _p[1] );
  self->Fl_File_Chooser::directory( d );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_filter_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  const char* _filter = self->Fl_File_Chooser::filter(  );
  DaoContext_PutMBString( _ctx, (char*) _filter );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_filter( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  char* p= (char*) DValue_GetMBString( _p[1] );
  self->Fl_File_Chooser::filter( p );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_filter_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  int _filter_value = self->Fl_File_Chooser::filter_value(  );
  DaoContext_PutInteger( _ctx, (int) _filter_value );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_filter_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  int f= (int) _p[1]->v.i;
  self->Fl_File_Chooser::filter_value( f );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_hide( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  self->Fl_File_Chooser::hide(  );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_iconsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  uchar _iconsize = self->Fl_File_Chooser::iconsize(  );
  DaoContext_PutInteger( _ctx, (int) _iconsize );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_iconsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  uchar s= (uchar) _p[1]->v.i;
  self->Fl_File_Chooser::iconsize( s );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  const char* _label = self->Fl_File_Chooser::label(  );
  DaoContext_PutMBString( _ctx, (char*) _label );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  char* l= (char*) DValue_GetMBString( _p[1] );
  self->Fl_File_Chooser::label( l );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_ok_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  const char* _ok_label = self->Fl_File_Chooser::ok_label(  );
  DaoContext_PutMBString( _ctx, (char*) _ok_label );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_ok_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  char* l= (char*) DValue_GetMBString( _p[1] );
  self->Fl_File_Chooser::ok_label( l );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_preview_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  int _preview = self->Fl_File_Chooser::preview(  );
  DaoContext_PutInteger( _ctx, (int) _preview );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_preview( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  int e= (int) _p[1]->v.i;
  self->Fl_File_Chooser::preview( e );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_rescan( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  self->Fl_File_Chooser::rescan(  );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_rescan_keep_filename( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  self->Fl_File_Chooser::rescan_keep_filename(  );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_show( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  self->Fl_File_Chooser::show(  );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_shown( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  int _shown = self->Fl_File_Chooser::shown(  );
  DaoContext_PutInteger( _ctx, (int) _shown );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  Fl_Color _textcolor = self->Fl_File_Chooser::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  self->Fl_File_Chooser::textcolor( c );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  Fl_Font _textfont = self->Fl_File_Chooser::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  Fl_Font f= (Fl_Font) _p[1]->v.i;
  self->Fl_File_Chooser::textfont( f );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  Fl_Fontsize _textsize = self->Fl_File_Chooser::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_File_Chooser::textsize( s );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_type_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  int _type = self->Fl_File_Chooser::type(  );
  DaoContext_PutInteger( _ctx, (int) _type );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  int t= (int) _p[1]->v.i;
  self->Fl_File_Chooser::type( t );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_user_data( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  void* _user_data = self->Fl_File_Chooser::user_data(  );
  DaoContext_PutCPointer( _ctx, (void*) _user_data, 0 );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_user_data_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  void* d= (void*) DValue_GetCData( _p[1] );
  self->Fl_File_Chooser::user_data( d );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  char* filename= (char*) DValue_GetMBString( _p[1] );
  self->Fl_File_Chooser::value( filename );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  int f= (int) _p[1]->v.i;
  const char* _value = self->Fl_File_Chooser::value( f );
  DaoContext_PutMBString( _ctx, (char*) _value );
}
/* Fl_File_Chooser.H */
static void dao_Fl_File_Chooser_visible( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Chooser* self= (Fl_File_Chooser*) DValue_CastCData( _p[0], dao_Fl_File_Chooser_Typer );
  int _visible = self->Fl_File_Chooser::visible(  );
  DaoContext_PutInteger( _ctx, (int) _visible );
}

/*  Fl_File_Icon.H */


static DaoNumItem dao_Fl_File_Icon_Nums[] =
{
  { "ANY", DAO_INTEGER, Fl_File_Icon::ANY },
  { "PLAIN", DAO_INTEGER, Fl_File_Icon::PLAIN },
  { "FIFO", DAO_INTEGER, Fl_File_Icon::FIFO },
  { "DEVICE", DAO_INTEGER, Fl_File_Icon::DEVICE },
  { "LINK", DAO_INTEGER, Fl_File_Icon::LINK },
  { "DIRECTORY", DAO_INTEGER, Fl_File_Icon::DIRECTORY },
  { "END", DAO_INTEGER, Fl_File_Icon::END },
  { "COLOR", DAO_INTEGER, Fl_File_Icon::COLOR },
  { "LINE", DAO_INTEGER, Fl_File_Icon::LINE },
  { "CLOSEDLINE", DAO_INTEGER, Fl_File_Icon::CLOSEDLINE },
  { "POLYGON", DAO_INTEGER, Fl_File_Icon::POLYGON },
  { "OUTLINEPOLYGON", DAO_INTEGER, Fl_File_Icon::OUTLINEPOLYGON },
  { "VERTEX", DAO_INTEGER, Fl_File_Icon::VERTEX },
  { NULL, 0, 0 }
};
static void dao_Fl_File_Icon_Fl_File_Icon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_add_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_add_vertex_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_add_vertex( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_find( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_first( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_labeltype( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_load( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_load_fti( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_load_image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_load_system_icons( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_next( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_pattern( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Icon_value( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_File_Icon_Meths[] = 
{
  { dao_Fl_File_Icon_Fl_File_Icon, "Fl_File_Icon( p : string, t : int, nd : int = 0, d : int|null=null )=>Fl_File_Icon" },
  { dao_Fl_File_Icon_add, "add( self : Fl_File_Icon, d : int )=>array<int>" },
  { dao_Fl_File_Icon_add_color, "add_color( self : Fl_File_Icon, c : int )=>array<int>" },
  { dao_Fl_File_Icon_add_vertex_dao_2, "add_vertex( self : Fl_File_Icon, x : float, y : float )=>array<int>" },
  { dao_Fl_File_Icon_add_vertex, "add_vertex( self : Fl_File_Icon, x : int, y : int )=>array<int>" },
  { dao_Fl_File_Icon_clear, "clear( self : Fl_File_Icon )" },
  { dao_Fl_File_Icon_draw, "draw( self : Fl_File_Icon, x : int, y : int, w : int, h : int, ic : int, active : int = 1 )" },
  { dao_Fl_File_Icon_find, "find( filename : string, filetype : int = ANY )=>Fl_File_Icon" },
  { dao_Fl_File_Icon_first, "first(  )=>Fl_File_Icon" },
  { dao_Fl_File_Icon_label, "label( self : Fl_File_Icon, w : Fl_Widget )" },
  { dao_Fl_File_Icon_labeltype, "labeltype( o : Fl_Label, x : int, y : int, w : int, h : int, a : int )" },
  { dao_Fl_File_Icon_load, "load( self : Fl_File_Icon, f : string )" },
  { dao_Fl_File_Icon_load_fti, "load_fti( self : Fl_File_Icon, fti : string )=>int" },
  { dao_Fl_File_Icon_load_image, "load_image( self : Fl_File_Icon, i : string )=>int" },
  { dao_Fl_File_Icon_load_system_icons, "load_system_icons(  )" },
  { dao_Fl_File_Icon_next, "next( self : Fl_File_Icon )=>Fl_File_Icon" },
  { dao_Fl_File_Icon_pattern, "pattern( self : Fl_File_Icon )=>string" },
  { dao_Fl_File_Icon_size, "size( self : Fl_File_Icon )=>int" },
  { dao_Fl_File_Icon_type, "type( self : Fl_File_Icon )=>int" },
  { dao_Fl_File_Icon_value, "value( self : Fl_File_Icon )=>array<int>" },
  { NULL, NULL }
};
static void Dao_Fl_File_Icon_Delete( void *self )
{
	delete (Fl_File_Icon*) self;
}

static DaoTypeBase Fl_File_Icon_Typer = 
{ "Fl_File_Icon", NULL, 
  dao_Fl_File_Icon_Nums,
  dao_Fl_File_Icon_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_File_Icon_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_File_Icon_Typer = & Fl_File_Icon_Typer;
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_Fl_File_Icon( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* p= (char*) DValue_GetMBString( _p[0] );
  int t= (int) _p[1]->v.i;
  int nd= (int) _p[2]->v.i;
  short d= (short) _p[3]->v.i;
	Fl_File_Icon *_self = Dao_Fl_File_Icon_New( p, t, nd, & d );
	DaoContext_PutCData( _ctx, _self, dao_Fl_File_Icon_Typer );
  _p[3]->v.i = (int) d;
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_add( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  short d= (short) _p[1]->v.i;
  short* _add = self->Fl_File_Icon::add( d );
  DaoContext_PutArrayInteger( _ctx, (int*) _add, 0 );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_add_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  short* _add_color = self->Fl_File_Icon::add_color( c );
  DaoContext_PutArrayInteger( _ctx, (int*) _add_color, 0 );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_add_vertex_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  float x= (float) _p[1]->v.f;
  float y= (float) _p[2]->v.f;
  short* _add_vertex = self->Fl_File_Icon::add_vertex( x, y );
  DaoContext_PutArrayInteger( _ctx, (int*) _add_vertex, 0 );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_add_vertex( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  short* _add_vertex = self->Fl_File_Icon::add_vertex( x, y );
  DaoContext_PutArrayInteger( _ctx, (int*) _add_vertex, 0 );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  self->Fl_File_Icon::clear(  );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  Fl_Color ic= (Fl_Color) _p[5]->v.i;
  int active= (int) _p[6]->v.i;
  self->Fl_File_Icon::draw( x, y, w, h, ic, active );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_find( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* filename= (char*) DValue_GetMBString( _p[0] );
  int filetype= (int) _p[1]->v.i;
  Fl_File_Icon* _find = Fl_File_Icon::find( filename, filetype );
  DaoContext_WrapCData( _ctx, (void*) _find, dao_Fl_File_Icon_Typer );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_first( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* _first = Fl_File_Icon::first(  );
  DaoContext_WrapCData( _ctx, (void*) _first, dao_Fl_File_Icon_Typer );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_File_Icon::label( w );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_labeltype( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label* o= (Fl_Label*) DValue_CastCData( _p[0], dao_Fl_Label_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  Fl_Align a= (Fl_Align) _p[5]->v.i;
  Fl_File_Icon::labeltype( o, x, y, w, h, a );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_load( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  char* f= (char*) DValue_GetMBString( _p[1] );
  self->Fl_File_Icon::load( f );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_load_fti( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  char* fti= (char*) DValue_GetMBString( _p[1] );
  int _load_fti = self->Fl_File_Icon::load_fti( fti );
  DaoContext_PutInteger( _ctx, (int) _load_fti );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_load_image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  char* i= (char*) DValue_GetMBString( _p[1] );
  int _load_image = self->Fl_File_Icon::load_image( i );
  DaoContext_PutInteger( _ctx, (int) _load_image );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_load_system_icons( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon::load_system_icons(  );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_next( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  Fl_File_Icon* _next = self->Fl_File_Icon::next(  );
  DaoContext_WrapCData( _ctx, (void*) _next, dao_Fl_File_Icon_Typer );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_pattern( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  const char* _pattern = self->Fl_File_Icon::pattern(  );
  DaoContext_PutMBString( _ctx, (char*) _pattern );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  int _size = self->Fl_File_Icon::size(  );
  DaoContext_PutInteger( _ctx, (int) _size );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  int _type = self->Fl_File_Icon::type(  );
  DaoContext_PutInteger( _ctx, (int) _type );
}
/* Fl_File_Icon.H */
static void dao_Fl_File_Icon_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Icon* self= (Fl_File_Icon*) DValue_CastCData( _p[0], dao_Fl_File_Icon_Typer );
  short* _value = self->Fl_File_Icon::value(  );
  DaoContext_PutArrayInteger( _ctx, (int*) _value, 0 );
}

/*  Fl_Input_.H */


static DaoNumItem dao_Fl_Input__Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Input__Fl_Input_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__copy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__copy_cuts( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__cursor_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__cursor_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__cut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__cut_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__cut_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__drawtext( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__handle_mouse( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__handletext( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__index( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__input_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__input_type_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__line_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__line_start( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__linesPerPage( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__mark( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__mark_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__maximum_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__maximum_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__maybe_do_callback( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__position_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__position_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__readonly( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__readonly_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__replace( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__shortcut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__shortcut_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__size_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__static_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__static_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__undo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__up_down_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__value_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__word_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__word_start( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__wrap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__wrap_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__xscroll( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__yscroll( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input__yscroll_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Input__Meths[] = 
{
  { dao_Fl_Input__Fl_Input_, "Fl_Input_( _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : string|null=null )=>Fl_Input_" },
  { dao_Fl_Input__copy, "copy( self : Fl_Input_, clipboard : int )=>int" },
  { dao_Fl_Input__copy_cuts, "copy_cuts( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__cursor_color, "cursor_color( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__cursor_color_dao_2, "cursor_color( self : Fl_Input_, n : int )" },
  { dao_Fl_Input__cut, "cut( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__cut_dao_2, "cut( self : Fl_Input_, n : int )=>int" },
  { dao_Fl_Input__cut_dao_3, "cut( self : Fl_Input_, a : int, b : int )=>int" },
  { dao_Fl_Input__drawtext, "drawtext( self : Fl_Input_, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Input__handle_mouse, "handle_mouse( self : Fl_Input_, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, keepmark : int=0 )" },
  { dao_Fl_Input__handletext, "handletext( self : Fl_Input_, e : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : int )=>int" },
  { dao_Fl_Input__index, "index( self : Fl_Input_, i : int )=>int" },
  { dao_Fl_Input__input_type, "input_type( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__input_type_dao_2, "input_type( self : Fl_Input_, t : int )" },
  { dao_Fl_Input__insert, "insert( self : Fl_Input_, t : string, l : int=0 )=>int" },
  { dao_Fl_Input__line_end, "line_end( self : Fl_Input_, i : int )=>int" },
  { dao_Fl_Input__line_start, "line_start( self : Fl_Input_, i : int )=>int" },
  { dao_Fl_Input__linesPerPage, "linesPerPage( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__mark, "mark( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__mark_dao_2, "mark( self : Fl_Input_, m : int )=>int" },
  { dao_Fl_Input__maximum_size, "maximum_size( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__maximum_size_dao_2, "maximum_size( self : Fl_Input_, m : int )" },
  { dao_Fl_Input__maybe_do_callback, "maybe_do_callback( self : Fl_Input_ )" },
  { dao_Fl_Input__position, "position( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__position_dao_3, "position( self : Fl_Input_, p : int )=>int" },
  { dao_Fl_Input__position_dao_2, "position( self : Fl_Input_, p : int, m : int )=>int" },
  { dao_Fl_Input__readonly, "readonly( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__readonly_dao_2, "readonly( self : Fl_Input_, b : int )" },
  { dao_Fl_Input__replace, "replace( self : Fl_Input_, _cp0 : int, _cp1 : int, _cp2 : string, _cp3 : int=0 )=>int" },
  { dao_Fl_Input__resize, "resize( self : Fl_Input_, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Input__shortcut, "shortcut( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__shortcut_dao_2, "shortcut( self : Fl_Input_, s : int )" },
  { dao_Fl_Input__size, "size( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__size_dao_2, "size( self : Fl_Input_, W : int, H : int )" },
  { dao_Fl_Input__static_value, "static_value( self : Fl_Input_, _cp0 : string )=>int" },
  { dao_Fl_Input__static_value_dao_2, "static_value( self : Fl_Input_, _cp0 : string, _cp1 : int )=>int" },
  { dao_Fl_Input__textcolor, "textcolor( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__textcolor_dao_2, "textcolor( self : Fl_Input_, n : int )" },
  { dao_Fl_Input__textfont, "textfont( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__textfont_dao_2, "textfont( self : Fl_Input_, s : int )" },
  { dao_Fl_Input__textsize, "textsize( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__textsize_dao_2, "textsize( self : Fl_Input_, s : int )" },
  { dao_Fl_Input__undo, "undo( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__up_down_position, "up_down_position( self : Fl_Input_, _cp0 : int, keepmark : int=0 )=>int" },
  { dao_Fl_Input__value_dao_3, "value( self : Fl_Input_ )=>string" },
  { dao_Fl_Input__value, "value( self : Fl_Input_, _cp0 : string )=>int" },
  { dao_Fl_Input__value_dao_2, "value( self : Fl_Input_, _cp0 : string, _cp1 : int )=>int" },
  { dao_Fl_Input__word_end, "word_end( self : Fl_Input_, i : int )=>int" },
  { dao_Fl_Input__word_start, "word_start( self : Fl_Input_, i : int )=>int" },
  { dao_Fl_Input__wrap, "wrap( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__wrap_dao_2, "wrap( self : Fl_Input_, b : int )" },
  { dao_Fl_Input__xscroll, "xscroll( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__yscroll, "yscroll( self : Fl_Input_ )=>int" },
  { dao_Fl_Input__yscroll_dao_2, "yscroll( self : Fl_Input_, y : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Input__Delete( void *self )
{
	delete (Fl_Input_*) self;
}
void* dao_cast_Fl_Input__to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_Input_*)data;
}

static DaoTypeBase Fl_Input__Typer = 
{ "Fl_Input_", NULL, 
  dao_Fl_Input__Nums,
  dao_Fl_Input__Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_Input__to_Fl_Widget,0 },
  Dao_Fl_Input__Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Input__Typer = & Fl_Input__Typer;
/* Fl_Input_.H */
static void dao_Fl_Input__Fl_Input_( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int _cp1= (int) _p[1]->v.i;
  int _cp2= (int) _p[2]->v.i;
  int _cp3= (int) _p[3]->v.i;
  char* _cp4= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Input_ *_self = DaoCxx_Fl_Input__New( _cp0, _cp1, _cp2, _cp3, _cp4 );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Input_.H */
static void dao_Fl_Input__copy( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int clipboard= (int) _p[1]->v.i;
  int _copy = self->Fl_Input_::copy( clipboard );
  DaoContext_PutInteger( _ctx, (int) _copy );
}
/* Fl_Input_.H */
static void dao_Fl_Input__copy_cuts( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _copy_cuts = self->Fl_Input_::copy_cuts(  );
  DaoContext_PutInteger( _ctx, (int) _copy_cuts );
}
/* Fl_Input_.H */
static void dao_Fl_Input__cursor_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  Fl_Color _cursor_color = self->Fl_Input_::cursor_color(  );
  DaoContext_PutInteger( _ctx, (int) _cursor_color );
}
/* Fl_Input_.H */
static void dao_Fl_Input__cursor_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  Fl_Color n= (Fl_Color) _p[1]->v.i;
  self->Fl_Input_::cursor_color( n );
}
/* Fl_Input_.H */
static void dao_Fl_Input__cut( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _cut = self->Fl_Input_::cut(  );
  DaoContext_PutInteger( _ctx, (int) _cut );
}
/* Fl_Input_.H */
static void dao_Fl_Input__cut_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int n= (int) _p[1]->v.i;
  int _cut = self->Fl_Input_::cut( n );
  DaoContext_PutInteger( _ctx, (int) _cut );
}
/* Fl_Input_.H */
static void dao_Fl_Input__cut_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int a= (int) _p[1]->v.i;
  int b= (int) _p[2]->v.i;
  int _cut = self->Fl_Input_::cut( a, b );
  DaoContext_PutInteger( _ctx, (int) _cut );
}
/* Fl_Input_.H */
static void dao_Fl_Input__drawtext( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->DaoWrap_drawtext( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Input_.H */
static void dao_Fl_Input__handle_mouse( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  int keepmark= (int) _p[5]->v.i;
  self->DaoWrap_handle_mouse( _cp0, _cp1, _cp2, _cp3, keepmark );
}
/* Fl_Input_.H */
static void dao_Fl_Input__handletext( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int e= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  int _cp4= (int) _p[5]->v.i;
  int _handletext = self->DaoWrap_handletext( e, _cp1, _cp2, _cp3, _cp4 );
  DaoContext_PutInteger( _ctx, (int) _handletext );
}
/* Fl_Input_.H */
static void dao_Fl_Input__index( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int i= (int) _p[1]->v.i;
  Fl_Char _index = self->Fl_Input_::index( i );
  DaoContext_PutInteger( _ctx, (int) _index );
}
/* Fl_Input_.H */
static void dao_Fl_Input__input_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _input_type = self->Fl_Input_::input_type(  );
  DaoContext_PutInteger( _ctx, (int) _input_type );
}
/* Fl_Input_.H */
static void dao_Fl_Input__input_type_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int t= (int) _p[1]->v.i;
  self->Fl_Input_::input_type( t );
}
/* Fl_Input_.H */
static void dao_Fl_Input__insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  char* t= (char*) DValue_GetMBString( _p[1] );
  int l= (int) _p[2]->v.i;
  int _insert = self->Fl_Input_::insert( t, l );
  DaoContext_PutInteger( _ctx, (int) _insert );
}
/* Fl_Input_.H */
static void dao_Fl_Input__line_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int i= (int) _p[1]->v.i;
  int _line_end = self->DaoWrap_line_end( i );
  DaoContext_PutInteger( _ctx, (int) _line_end );
}
/* Fl_Input_.H */
static void dao_Fl_Input__line_start( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int i= (int) _p[1]->v.i;
  int _line_start = self->DaoWrap_line_start( i );
  DaoContext_PutInteger( _ctx, (int) _line_start );
}
/* Fl_Input_.H */
static void dao_Fl_Input__linesPerPage( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _linesPerPage = self->DaoWrap_linesPerPage(  );
  DaoContext_PutInteger( _ctx, (int) _linesPerPage );
}
/* Fl_Input_.H */
static void dao_Fl_Input__mark( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _mark = self->Fl_Input_::mark(  );
  DaoContext_PutInteger( _ctx, (int) _mark );
}
/* Fl_Input_.H */
static void dao_Fl_Input__mark_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int m= (int) _p[1]->v.i;
  int _mark = self->Fl_Input_::mark( m );
  DaoContext_PutInteger( _ctx, (int) _mark );
}
/* Fl_Input_.H */
static void dao_Fl_Input__maximum_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _maximum_size = self->Fl_Input_::maximum_size(  );
  DaoContext_PutInteger( _ctx, (int) _maximum_size );
}
/* Fl_Input_.H */
static void dao_Fl_Input__maximum_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int m= (int) _p[1]->v.i;
  self->Fl_Input_::maximum_size( m );
}
/* Fl_Input_.H */
static void dao_Fl_Input__maybe_do_callback( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  self->DaoWrap_maybe_do_callback(  );
}
/* Fl_Input_.H */
static void dao_Fl_Input__position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _position = self->Fl_Input_::position(  );
  DaoContext_PutInteger( _ctx, (int) _position );
}
/* Fl_Input_.H */
static void dao_Fl_Input__position_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int p= (int) _p[1]->v.i;
  int _position = self->Fl_Input_::position( p );
  DaoContext_PutInteger( _ctx, (int) _position );
}
/* Fl_Input_.H */
static void dao_Fl_Input__position_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int p= (int) _p[1]->v.i;
  int m= (int) _p[2]->v.i;
  int _position = self->Fl_Input_::position( p, m );
  DaoContext_PutInteger( _ctx, (int) _position );
}
/* Fl_Input_.H */
static void dao_Fl_Input__readonly( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _readonly = self->Fl_Input_::readonly(  );
  DaoContext_PutInteger( _ctx, (int) _readonly );
}
/* Fl_Input_.H */
static void dao_Fl_Input__readonly_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int b= (int) _p[1]->v.i;
  self->Fl_Input_::readonly( b );
}
/* Fl_Input_.H */
static void dao_Fl_Input__replace( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  char* _cp2= (char*) DValue_GetMBString( _p[3] );
  int _cp3= (int) _p[4]->v.i;
  int _replace = self->Fl_Input_::replace( _cp0, _cp1, _cp2, _cp3 );
  DaoContext_PutInteger( _ctx, (int) _replace );
}
/* Fl_Input_.H */
static void dao_Fl_Input__resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->Fl_Input_::resize( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Input_.H */
static void dao_Fl_Input__shortcut( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _shortcut = self->Fl_Input_::shortcut(  );
  DaoContext_PutInteger( _ctx, (int) _shortcut );
}
/* Fl_Input_.H */
static void dao_Fl_Input__shortcut_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int s= (int) _p[1]->v.i;
  self->Fl_Input_::shortcut( s );
}
/* Fl_Input_.H */
static void dao_Fl_Input__size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _size = self->Fl_Input_::size(  );
  DaoContext_PutInteger( _ctx, (int) _size );
}
/* Fl_Input_.H */
static void dao_Fl_Input__size_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  self->Fl_Input_::size( W, H );
}
/* Fl_Input_.H */
static void dao_Fl_Input__static_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  char* _cp0= (char*) DValue_GetMBString( _p[1] );
  int _static_value = self->Fl_Input_::static_value( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _static_value );
}
/* Fl_Input_.H */
static void dao_Fl_Input__static_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  char* _cp0= (char*) DValue_GetMBString( _p[1] );
  int _cp1= (int) _p[2]->v.i;
  int _static_value = self->Fl_Input_::static_value( _cp0, _cp1 );
  DaoContext_PutInteger( _ctx, (int) _static_value );
}
/* Fl_Input_.H */
static void dao_Fl_Input__textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  Fl_Color _textcolor = self->Fl_Input_::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Input_.H */
static void dao_Fl_Input__textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  Fl_Color n= (Fl_Color) _p[1]->v.i;
  self->Fl_Input_::textcolor( n );
}
/* Fl_Input_.H */
static void dao_Fl_Input__textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  Fl_Font _textfont = self->Fl_Input_::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_Input_.H */
static void dao_Fl_Input__textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  Fl_Font s= (Fl_Font) _p[1]->v.i;
  self->Fl_Input_::textfont( s );
}
/* Fl_Input_.H */
static void dao_Fl_Input__textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  Fl_Fontsize _textsize = self->Fl_Input_::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Input_.H */
static void dao_Fl_Input__textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Input_::textsize( s );
}
/* Fl_Input_.H */
static void dao_Fl_Input__undo( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _undo = self->Fl_Input_::undo(  );
  DaoContext_PutInteger( _ctx, (int) _undo );
}
/* Fl_Input_.H */
static void dao_Fl_Input__up_down_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _cp0= (int) _p[1]->v.i;
  int keepmark= (int) _p[2]->v.i;
  int _up_down_position = self->DaoWrap_up_down_position( _cp0, keepmark );
  DaoContext_PutInteger( _ctx, (int) _up_down_position );
}
/* Fl_Input_.H */
static void dao_Fl_Input__value_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  const char* _value = self->Fl_Input_::value(  );
  DaoContext_PutMBString( _ctx, (char*) _value );
}
/* Fl_Input_.H */
static void dao_Fl_Input__value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  char* _cp0= (char*) DValue_GetMBString( _p[1] );
  int _value = self->Fl_Input_::value( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Input_.H */
static void dao_Fl_Input__value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  char* _cp0= (char*) DValue_GetMBString( _p[1] );
  int _cp1= (int) _p[2]->v.i;
  int _value = self->Fl_Input_::value( _cp0, _cp1 );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Input_.H */
static void dao_Fl_Input__word_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int i= (int) _p[1]->v.i;
  int _word_end = self->DaoWrap_word_end( i );
  DaoContext_PutInteger( _ctx, (int) _word_end );
}
/* Fl_Input_.H */
static void dao_Fl_Input__word_start( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int i= (int) _p[1]->v.i;
  int _word_start = self->DaoWrap_word_start( i );
  DaoContext_PutInteger( _ctx, (int) _word_start );
}
/* Fl_Input_.H */
static void dao_Fl_Input__wrap( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _wrap = self->Fl_Input_::wrap(  );
  DaoContext_PutInteger( _ctx, (int) _wrap );
}
/* Fl_Input_.H */
static void dao_Fl_Input__wrap_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_* self= (Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int b= (int) _p[1]->v.i;
  self->Fl_Input_::wrap( b );
}
/* Fl_Input_.H */
static void dao_Fl_Input__xscroll( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _xscroll = self->DaoWrap_xscroll(  );
  DaoContext_PutInteger( _ctx, (int) _xscroll );
}
/* Fl_Input_.H */
static void dao_Fl_Input__yscroll( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int _yscroll = self->DaoWrap_yscroll(  );
  DaoContext_PutInteger( _ctx, (int) _yscroll );
}
/* Fl_Input_.H */
static void dao_Fl_Input__yscroll_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input_ *self = (DaoCxx_Fl_Input_*) DValue_CastCData( _p[0], dao_Fl_Input__Typer );
  int y= (int) _p[1]->v.i;
  self->DaoWrap_yscroll( y );
}

/*  Fl_Input.H */


static DaoNumItem dao_Fl_Input_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Input_Fl_Input( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_handle( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Input_Meths[] = 
{
  { dao_Fl_Input_Fl_Input, "Fl_Input( _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : string|null=null )=>Fl_Input" },
  { dao_Fl_Input_draw, "draw( self : Fl_Input )" },
  { dao_Fl_Input_handle, "handle( self : Fl_Input, _cp0 : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Input_Delete( void *self )
{
	delete (Fl_Input*) self;
}
void* dao_cast_Fl_Input_to_Fl_Input_( void *data )
{
	return (Fl_Input_*)(Fl_Input*)data;
}

static DaoTypeBase Fl_Input_Typer = 
{ "Fl_Input", NULL, 
  dao_Fl_Input_Nums,
  dao_Fl_Input_Meths, 
  { dao_Fl_Input__Typer, 0 },
  { dao_cast_Fl_Input_to_Fl_Input_,0 },
  Dao_Fl_Input_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Input_Typer = & Fl_Input_Typer;
/* Fl_Input.H */
static void dao_Fl_Input_Fl_Input( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int _cp1= (int) _p[1]->v.i;
  int _cp2= (int) _p[2]->v.i;
  int _cp3= (int) _p[3]->v.i;
  char* _cp4= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Input *_self = DaoCxx_Fl_Input_New( _cp0, _cp1, _cp2, _cp3, _cp4 );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Input.H */
static void dao_Fl_Input_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Input *self = (DaoCxx_Fl_Input*) DValue_CastCData( _p[0], dao_Fl_Input_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Input.H */
static void dao_Fl_Input_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input* self= (Fl_Input*) DValue_CastCData( _p[0], dao_Fl_Input_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Input::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}

/*  Fl_File_Input.H */


static DaoNumItem dao_Fl_File_Input_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_File_Input_Fl_File_Input( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Input_down_box( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Input_down_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Input_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Input_errorcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Input_errorcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Input_handle__Fl_File_Input( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Input_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Input_value_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Input_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_File_Input_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_File_Input_Meths[] = 
{
  { dao_Fl_File_Input_Fl_File_Input, "Fl_File_Input( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_File_Input" },
  { dao_Fl_File_Input_down_box, "down_box( self : Fl_File_Input )=>int" },
  { dao_Fl_File_Input_down_box_dao_2, "down_box( self : Fl_File_Input, b : int )" },
  { dao_Fl_File_Input_draw, "draw( self : Fl_File_Input )" },
  { dao_Fl_File_Input_errorcolor, "errorcolor( self : Fl_File_Input )=>int" },
  { dao_Fl_File_Input_errorcolor_dao_2, "errorcolor( self : Fl_File_Input, c : int )" },
  { dao_Fl_File_Input_handle, "handle( self : Fl_File_Input, event : int )=>int" },
  { dao_Fl_File_Input_value_dao_3, "value( self : Fl_File_Input )=>string" },
  { dao_Fl_File_Input_value, "value( self : Fl_File_Input, str : string )=>int" },
  { dao_Fl_File_Input_value_dao_2, "value( self : Fl_File_Input, str : string, len : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_File_Input_Delete( void *self )
{
	delete (Fl_File_Input*) self;
}
void* dao_cast_Fl_File_Input_to_Fl_Input( void *data )
{
	return (Fl_Input*)(Fl_File_Input*)data;
}

static DaoTypeBase Fl_File_Input_Typer = 
{ "Fl_File_Input", NULL, 
  dao_Fl_File_Input_Nums,
  dao_Fl_File_Input_Meths, 
  { dao_Fl_Input_Typer, 0 },
  { dao_cast_Fl_File_Input_to_Fl_Input,0 },
  Dao_Fl_File_Input_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_File_Input_Typer = & Fl_File_Input_Typer;
/* Fl_File_Input.H */
static void dao_Fl_File_Input_Fl_File_Input( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_File_Input *_self = DaoCxx_Fl_File_Input_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_File_Input.H */
static void dao_Fl_File_Input_down_box( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Input* self= (Fl_File_Input*) DValue_CastCData( _p[0], dao_Fl_File_Input_Typer );
  Fl_Boxtype _down_box = self->Fl_File_Input::down_box(  );
  DaoContext_PutInteger( _ctx, (int) _down_box );
}
/* Fl_File_Input.H */
static void dao_Fl_File_Input_down_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Input* self= (Fl_File_Input*) DValue_CastCData( _p[0], dao_Fl_File_Input_Typer );
  Fl_Boxtype b= (Fl_Boxtype) _p[1]->v.i;
  self->Fl_File_Input::down_box( b );
}
/* Fl_File_Input.H */
static void dao_Fl_File_Input_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_File_Input *self = (DaoCxx_Fl_File_Input*) DValue_CastCData( _p[0], dao_Fl_File_Input_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_File_Input.H */
static void dao_Fl_File_Input_errorcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Input* self= (Fl_File_Input*) DValue_CastCData( _p[0], dao_Fl_File_Input_Typer );
  Fl_Color _errorcolor = self->Fl_File_Input::errorcolor(  );
  DaoContext_PutInteger( _ctx, (int) _errorcolor );
}
/* Fl_File_Input.H */
static void dao_Fl_File_Input_errorcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Input* self= (Fl_File_Input*) DValue_CastCData( _p[0], dao_Fl_File_Input_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  self->Fl_File_Input::errorcolor( c );
}
/* Fl_File_Input.H */
static void dao_Fl_File_Input_handle__Fl_File_Input( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Input* self= (Fl_File_Input*) DValue_CastCData( _p[0], dao_Fl_File_Input_Typer );
  int event= (int) _p[1]->v.i;
  int _handle = self->Fl_File_Input::handle( event );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_File_Input.H */
static void dao_Fl_File_Input_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_File_Input_handle__Fl_File_Input( _ctx, _p, _n );
    return;
  }
  Fl_File_Input* self= (Fl_File_Input*) DValue_CastCData( _p[0], dao_Fl_File_Input_Typer );
  int event= (int) _p[1]->v.i;
  int _handle = self->handle( event );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_File_Input.H */
static void dao_Fl_File_Input_value_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Input* self= (Fl_File_Input*) DValue_CastCData( _p[0], dao_Fl_File_Input_Typer );
  const char* _value = self->Fl_File_Input::value(  );
  DaoContext_PutMBString( _ctx, (char*) _value );
}
/* Fl_File_Input.H */
static void dao_Fl_File_Input_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Input* self= (Fl_File_Input*) DValue_CastCData( _p[0], dao_Fl_File_Input_Typer );
  char* str= (char*) DValue_GetMBString( _p[1] );
  int _value = self->Fl_File_Input::value( str );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_File_Input.H */
static void dao_Fl_File_Input_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_File_Input* self= (Fl_File_Input*) DValue_CastCData( _p[0], dao_Fl_File_Input_Typer );
  char* str= (char*) DValue_GetMBString( _p[1] );
  int len= (int) _p[2]->v.i;
  int _value = self->Fl_File_Input::value( str, len );
  DaoContext_PutInteger( _ctx, (int) _value );
}

/*  Fl_Fill_Dial.H */


static DaoNumItem dao_Fl_Fill_Dial_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Fill_Dial_Fl_Fill_Dial( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Fill_Dial_Meths[] = 
{
  { dao_Fl_Fill_Dial_Fl_Fill_Dial, "Fl_Fill_Dial( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Fill_Dial" },
  { NULL, NULL }
};
static void Dao_Fl_Fill_Dial_Delete( void *self )
{
	delete (Fl_Fill_Dial*) self;
}
void* dao_cast_Fl_Fill_Dial_to_Fl_Dial( void *data )
{
	return (Fl_Dial*)(Fl_Fill_Dial*)data;
}

static DaoTypeBase Fl_Fill_Dial_Typer = 
{ "Fl_Fill_Dial", NULL, 
  dao_Fl_Fill_Dial_Nums,
  dao_Fl_Fill_Dial_Meths, 
  { dao_Fl_Dial_Typer, 0 },
  { dao_cast_Fl_Fill_Dial_to_Fl_Dial,0 },
  Dao_Fl_Fill_Dial_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Fill_Dial_Typer = & Fl_Fill_Dial_Typer;
/* Fl_Fill_Dial.H */
static void dao_Fl_Fill_Dial_Fl_Fill_Dial( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Fill_Dial *_self = DaoCxx_Fl_Fill_Dial_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Slider.H */


static DaoNumItem dao_Fl_Slider_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Slider_Fl_Slider( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Slider_Fl_Slider_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Slider_bounds( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Slider_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Slider_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Slider_handle_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Slider_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Slider_scrollvalue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Slider_slider( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Slider_slider_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Slider_slider_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Slider_slider_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Slider_Meths[] = 
{
  { dao_Fl_Slider_Fl_Slider, "Fl_Slider( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Slider" },
  { dao_Fl_Slider_Fl_Slider_dao_2, "Fl_Slider( t : int, X : int, Y : int, W : int, H : int, L : string )=>Fl_Slider" },
  { dao_Fl_Slider_bounds, "bounds( self : Fl_Slider, a : double, b : double )" },
  { dao_Fl_Slider_draw_dao_2, "draw( self : Fl_Slider )" },
  { dao_Fl_Slider_draw, "draw( self : Fl_Slider, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Slider_handle_dao_2, "handle( self : Fl_Slider, _cp0 : int )=>int" },
  { dao_Fl_Slider_handle, "handle( self : Fl_Slider, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : int )=>int" },
  { dao_Fl_Slider_scrollvalue, "scrollvalue( self : Fl_Slider, pos : int, size : int, first : int, total : int )=>int" },
  { dao_Fl_Slider_slider, "slider( self : Fl_Slider )=>int" },
  { dao_Fl_Slider_slider_dao_2, "slider( self : Fl_Slider, c : int )" },
  { dao_Fl_Slider_slider_size, "slider_size( self : Fl_Slider )=>float" },
  { dao_Fl_Slider_slider_size_dao_2, "slider_size( self : Fl_Slider, v : double )" },
  { NULL, NULL }
};
static void Dao_Fl_Slider_Delete( void *self )
{
	delete (Fl_Slider*) self;
}
void* dao_cast_Fl_Slider_to_Fl_Valuator( void *data )
{
	return (Fl_Valuator*)(Fl_Slider*)data;
}

static DaoTypeBase Fl_Slider_Typer = 
{ "Fl_Slider", NULL, 
  dao_Fl_Slider_Nums,
  dao_Fl_Slider_Meths, 
  { dao_Fl_Valuator_Typer, 0 },
  { dao_cast_Fl_Slider_to_Fl_Valuator,0 },
  Dao_Fl_Slider_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Slider_Typer = & Fl_Slider_Typer;
/* Fl_Slider.H */
static void dao_Fl_Slider_Fl_Slider( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Slider *_self = DaoCxx_Fl_Slider_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Slider.H */
static void dao_Fl_Slider_Fl_Slider_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  uchar t= (uchar) _p[0]->v.i;
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  char* L= (char*) DValue_GetMBString( _p[5] );
	DaoCxx_Fl_Slider *_self = DaoCxx_Fl_Slider_New( t, X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Slider.H */
static void dao_Fl_Slider_bounds( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Slider* self= (Fl_Slider*) DValue_CastCData( _p[0], dao_Fl_Slider_Typer );
  double a= (double) _p[1]->v.d;
  double b= (double) _p[2]->v.d;
  self->Fl_Slider::bounds( a, b );
}
/* Fl_Slider.H */
static void dao_Fl_Slider_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Slider *self = (DaoCxx_Fl_Slider*) DValue_CastCData( _p[0], dao_Fl_Slider_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Slider.H */
static void dao_Fl_Slider_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Slider *self = (DaoCxx_Fl_Slider*) DValue_CastCData( _p[0], dao_Fl_Slider_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->DaoWrap_draw( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Slider.H */
static void dao_Fl_Slider_handle_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Slider* self= (Fl_Slider*) DValue_CastCData( _p[0], dao_Fl_Slider_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Slider::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Slider.H */
static void dao_Fl_Slider_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Slider *self = (DaoCxx_Fl_Slider*) DValue_CastCData( _p[0], dao_Fl_Slider_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  int _cp4= (int) _p[5]->v.i;
  int _handle = self->DaoWrap_handle( _cp0, _cp1, _cp2, _cp3, _cp4 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Slider.H */
static void dao_Fl_Slider_scrollvalue( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Slider* self= (Fl_Slider*) DValue_CastCData( _p[0], dao_Fl_Slider_Typer );
  int pos= (int) _p[1]->v.i;
  int size= (int) _p[2]->v.i;
  int first= (int) _p[3]->v.i;
  int total= (int) _p[4]->v.i;
  int _scrollvalue = self->Fl_Slider::scrollvalue( pos, size, first, total );
  DaoContext_PutInteger( _ctx, (int) _scrollvalue );
}
/* Fl_Slider.H */
static void dao_Fl_Slider_slider( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Slider* self= (Fl_Slider*) DValue_CastCData( _p[0], dao_Fl_Slider_Typer );
  Fl_Boxtype _slider = self->Fl_Slider::slider(  );
  DaoContext_PutInteger( _ctx, (int) _slider );
}
/* Fl_Slider.H */
static void dao_Fl_Slider_slider_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Slider* self= (Fl_Slider*) DValue_CastCData( _p[0], dao_Fl_Slider_Typer );
  Fl_Boxtype c= (Fl_Boxtype) _p[1]->v.i;
  self->Fl_Slider::slider( c );
}
/* Fl_Slider.H */
static void dao_Fl_Slider_slider_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Slider* self= (Fl_Slider*) DValue_CastCData( _p[0], dao_Fl_Slider_Typer );
  float _slider_size = self->Fl_Slider::slider_size(  );
  DaoContext_PutFloat( _ctx, (float) _slider_size );
}
/* Fl_Slider.H */
static void dao_Fl_Slider_slider_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Slider* self= (Fl_Slider*) DValue_CastCData( _p[0], dao_Fl_Slider_Typer );
  double v= (double) _p[1]->v.d;
  self->Fl_Slider::slider_size( v );
}

/*  Fl_Fill_Slider.H */


static DaoNumItem dao_Fl_Fill_Slider_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Fill_Slider_Fl_Fill_Slider( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Fill_Slider_Meths[] = 
{
  { dao_Fl_Fill_Slider_Fl_Fill_Slider, "Fl_Fill_Slider( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Fill_Slider" },
  { NULL, NULL }
};
static void Dao_Fl_Fill_Slider_Delete( void *self )
{
	delete (Fl_Fill_Slider*) self;
}
void* dao_cast_Fl_Fill_Slider_to_Fl_Slider( void *data )
{
	return (Fl_Slider*)(Fl_Fill_Slider*)data;
}

static DaoTypeBase Fl_Fill_Slider_Typer = 
{ "Fl_Fill_Slider", NULL, 
  dao_Fl_Fill_Slider_Nums,
  dao_Fl_Fill_Slider_Meths, 
  { dao_Fl_Slider_Typer, 0 },
  { dao_cast_Fl_Fill_Slider_to_Fl_Slider,0 },
  Dao_Fl_Fill_Slider_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Fill_Slider_Typer = & Fl_Fill_Slider_Typer;
/* Fl_Fill_Slider.H */
static void dao_Fl_Fill_Slider_Fl_Fill_Slider( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Fill_Slider *_self = DaoCxx_Fl_Fill_Slider_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Float_Input.H */


static DaoNumItem dao_Fl_Float_Input_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Float_Input_Fl_Float_Input( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Float_Input_Meths[] = 
{
  { dao_Fl_Float_Input_Fl_Float_Input, "Fl_Float_Input( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Float_Input" },
  { NULL, NULL }
};
static void Dao_Fl_Float_Input_Delete( void *self )
{
	delete (Fl_Float_Input*) self;
}
void* dao_cast_Fl_Float_Input_to_Fl_Input( void *data )
{
	return (Fl_Input*)(Fl_Float_Input*)data;
}

static DaoTypeBase Fl_Float_Input_Typer = 
{ "Fl_Float_Input", NULL, 
  dao_Fl_Float_Input_Nums,
  dao_Fl_Float_Input_Meths, 
  { dao_Fl_Input_Typer, 0 },
  { dao_cast_Fl_Float_Input_to_Fl_Input,0 },
  Dao_Fl_Float_Input_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Float_Input_Typer = & Fl_Float_Input_Typer;
/* Fl_Float_Input.H */
static void dao_Fl_Float_Input_Fl_Float_Input( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Float_Input *_self = DaoCxx_Fl_Float_Input_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_FormsBitmap.H */


static DaoNumItem dao_Fl_FormsBitmap_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_FormsBitmap_Fl_FormsBitmap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_FormsBitmap_bitmap_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_FormsBitmap_bitmap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_FormsBitmap_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_FormsBitmap_set( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_FormsBitmap_Meths[] = 
{
  { dao_Fl_FormsBitmap_Fl_FormsBitmap, "Fl_FormsBitmap( _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : int, _cp5 : string|null=null )=>Fl_FormsBitmap" },
  { dao_Fl_FormsBitmap_bitmap_dao_2, "bitmap( self : Fl_FormsBitmap )=>Fl_Bitmap" },
  { dao_Fl_FormsBitmap_bitmap, "bitmap( self : Fl_FormsBitmap, B : Fl_Bitmap )" },
  { dao_Fl_FormsBitmap_draw, "draw( self : Fl_FormsBitmap )" },
  { dao_Fl_FormsBitmap_set, "set( self : Fl_FormsBitmap, W : int, H : int, bits : string )" },
  { NULL, NULL }
};
static void Dao_Fl_FormsBitmap_Delete( void *self )
{
	delete (Fl_FormsBitmap*) self;
}
void* dao_cast_Fl_FormsBitmap_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_FormsBitmap*)data;
}

static DaoTypeBase Fl_FormsBitmap_Typer = 
{ "Fl_FormsBitmap", NULL, 
  dao_Fl_FormsBitmap_Nums,
  dao_Fl_FormsBitmap_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_FormsBitmap_to_Fl_Widget,0 },
  Dao_Fl_FormsBitmap_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_FormsBitmap_Typer = & Fl_FormsBitmap_Typer;
/* Fl_FormsBitmap.H */
static void dao_Fl_FormsBitmap_Fl_FormsBitmap( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Boxtype _cp0= (Fl_Boxtype) _p[0]->v.i;
  int _cp1= (int) _p[1]->v.i;
  int _cp2= (int) _p[2]->v.i;
  int _cp3= (int) _p[3]->v.i;
  int _cp4= (int) _p[4]->v.i;
  char* _cp5= (char*) DValue_GetMBString( _p[5] );
	DaoCxx_Fl_FormsBitmap *_self = DaoCxx_Fl_FormsBitmap_New( _cp0, _cp1, _cp2, _cp3, _cp4, _cp5 );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_FormsBitmap.H */
static void dao_Fl_FormsBitmap_bitmap_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_FormsBitmap* self= (Fl_FormsBitmap*) DValue_CastCData( _p[0], dao_Fl_FormsBitmap_Typer );
  Fl_Bitmap* _bitmap = self->Fl_FormsBitmap::bitmap(  );
  DaoContext_WrapCData( _ctx, (void*) _bitmap, dao_Fl_Bitmap_Typer );
}
/* Fl_FormsBitmap.H */
static void dao_Fl_FormsBitmap_bitmap( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_FormsBitmap* self= (Fl_FormsBitmap*) DValue_CastCData( _p[0], dao_Fl_FormsBitmap_Typer );
  Fl_Bitmap* B= (Fl_Bitmap*) DValue_CastCData( _p[1], dao_Fl_Bitmap_Typer );
  self->Fl_FormsBitmap::bitmap( B );
}
/* Fl_FormsBitmap.H */
static void dao_Fl_FormsBitmap_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_FormsBitmap *self = (DaoCxx_Fl_FormsBitmap*) DValue_CastCData( _p[0], dao_Fl_FormsBitmap_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_FormsBitmap.H */
static void dao_Fl_FormsBitmap_set( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_FormsBitmap* self= (Fl_FormsBitmap*) DValue_CastCData( _p[0], dao_Fl_FormsBitmap_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  uchar* bits= (uchar*) DValue_GetMBString( _p[3] );
  self->Fl_FormsBitmap::set( W, H, bits );
}

/*  Fl_FormsPixmap.H */


static DaoNumItem dao_Fl_FormsPixmap_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_FormsPixmap_Fl_FormsPixmap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_FormsPixmap_Pixmap_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_FormsPixmap_Pixmap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_FormsPixmap_draw( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_FormsPixmap_Meths[] = 
{
  { dao_Fl_FormsPixmap_Fl_FormsPixmap, "Fl_FormsPixmap( t : int, X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_FormsPixmap" },
  { dao_Fl_FormsPixmap_Pixmap_dao_2, "Pixmap( self : Fl_FormsPixmap )=>Fl_Pixmap" },
  { dao_Fl_FormsPixmap_Pixmap, "Pixmap( self : Fl_FormsPixmap, B : Fl_Pixmap )" },
  { dao_Fl_FormsPixmap_draw, "draw( self : Fl_FormsPixmap )" },
  { NULL, NULL }
};
static void Dao_Fl_FormsPixmap_Delete( void *self )
{
	delete (Fl_FormsPixmap*) self;
}
void* dao_cast_Fl_FormsPixmap_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_FormsPixmap*)data;
}

static DaoTypeBase Fl_FormsPixmap_Typer = 
{ "Fl_FormsPixmap", NULL, 
  dao_Fl_FormsPixmap_Nums,
  dao_Fl_FormsPixmap_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_FormsPixmap_to_Fl_Widget,0 },
  Dao_Fl_FormsPixmap_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_FormsPixmap_Typer = & Fl_FormsPixmap_Typer;
/* Fl_FormsPixmap.H */
static void dao_Fl_FormsPixmap_Fl_FormsPixmap( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Boxtype t= (Fl_Boxtype) _p[0]->v.i;
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  char* L= (char*) DValue_GetMBString( _p[5] );
	DaoCxx_Fl_FormsPixmap *_self = DaoCxx_Fl_FormsPixmap_New( t, X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_FormsPixmap.H */
static void dao_Fl_FormsPixmap_Pixmap_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_FormsPixmap* self= (Fl_FormsPixmap*) DValue_CastCData( _p[0], dao_Fl_FormsPixmap_Typer );
  Fl_Pixmap* _Pixmap = self->Fl_FormsPixmap::Pixmap(  );
  DaoContext_WrapCData( _ctx, (void*) _Pixmap, dao_Fl_Pixmap_Typer );
}
/* Fl_FormsPixmap.H */
static void dao_Fl_FormsPixmap_Pixmap( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_FormsPixmap* self= (Fl_FormsPixmap*) DValue_CastCData( _p[0], dao_Fl_FormsPixmap_Typer );
  Fl_Pixmap* B= (Fl_Pixmap*) DValue_CastCData( _p[1], dao_Fl_Pixmap_Typer );
  self->Fl_FormsPixmap::Pixmap( B );
}
/* Fl_FormsPixmap.H */
static void dao_Fl_FormsPixmap_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_FormsPixmap *self = (DaoCxx_Fl_FormsPixmap*) DValue_CastCData( _p[0], dao_Fl_FormsPixmap_Typer );
  self->DaoWrap_draw(  );
}

/*  forms.H */


static DaoNumItem dao_Fl_FormsText_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_FormsText_Fl_FormsText( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_FormsText_draw( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_FormsText_Meths[] = 
{
  { dao_Fl_FormsText_Fl_FormsText, "Fl_FormsText( b : int, X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_FormsText" },
  { dao_Fl_FormsText_draw, "draw( self : Fl_FormsText )" },
  { NULL, NULL }
};
static void Dao_Fl_FormsText_Delete( void *self )
{
	delete (Fl_FormsText*) self;
}
void* dao_cast_Fl_FormsText_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_FormsText*)data;
}

static DaoTypeBase Fl_FormsText_Typer = 
{ "Fl_FormsText", NULL, 
  dao_Fl_FormsText_Nums,
  dao_Fl_FormsText_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_FormsText_to_Fl_Widget,0 },
  Dao_Fl_FormsText_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_FormsText_Typer = & Fl_FormsText_Typer;
/* forms.H */
static void dao_Fl_FormsText_Fl_FormsText( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Boxtype b= (Fl_Boxtype) _p[0]->v.i;
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  char* l= (char*) DValue_GetMBString( _p[5] );
	DaoCxx_Fl_FormsText *_self = DaoCxx_Fl_FormsText_New( b, X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* forms.H */
static void dao_Fl_FormsText_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_FormsText *self = (DaoCxx_Fl_FormsText*) DValue_CastCData( _p[0], dao_Fl_FormsText_Typer );
  self->DaoWrap_draw(  );
}

/*  Fl_Free.H */


static DaoNumItem dao_Fl_Free_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Free_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Free_handle( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Free_Meths[] = 
{
  { dao_Fl_Free_draw, "draw( self : Fl_Free )" },
  { dao_Fl_Free_handle, "handle( self : Fl_Free, e : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Free_Delete( void *self )
{
	delete (Fl_Free*) self;
}
void* dao_cast_Fl_Free_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_Free*)data;
}

static DaoTypeBase Fl_Free_Typer = 
{ "Fl_Free", NULL, 
  dao_Fl_Free_Nums,
  dao_Fl_Free_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_Free_to_Fl_Widget,0 },
  Dao_Fl_Free_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Free_Typer = & Fl_Free_Typer;
/* Fl_Free.H */
static void dao_Fl_Free_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Free *self = (DaoCxx_Fl_Free*) DValue_CastCData( _p[0], dao_Fl_Free_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Free.H */
static void dao_Fl_Free_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Free* self= (Fl_Free*) DValue_CastCData( _p[0], dao_Fl_Free_Typer );
  int e= (int) _p[1]->v.i;
  int _handle = self->Fl_Free::handle( e );
  DaoContext_PutInteger( _ctx, (int) _handle );
}

/*  Fl_Device.H */


static DaoNumItem dao_Fl_Pixmap_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Pixmap_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Pixmap_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Pixmap_Typer = 
{ "Fl_Pixmap", NULL, 
  dao_Fl_Pixmap_Nums,
  dao_Fl_Pixmap_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Pixmap_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Pixmap_Typer = & Fl_Pixmap_Typer;

/*  Fl_GIF_Image.H */


static DaoNumItem dao_Fl_GIF_Image_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_GIF_Image_Fl_GIF_Image( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_GIF_Image_Meths[] = 
{
  { dao_Fl_GIF_Image_Fl_GIF_Image, "Fl_GIF_Image( filename : string )=>Fl_GIF_Image" },
  { NULL, NULL }
};
static void Dao_Fl_GIF_Image_Delete( void *self )
{
	delete (Fl_GIF_Image*) self;
}
void* dao_cast_Fl_GIF_Image_to_Fl_Pixmap( void *data )
{
	return (Fl_Pixmap*)(Fl_GIF_Image*)data;
}

static DaoTypeBase Fl_GIF_Image_Typer = 
{ "Fl_GIF_Image", NULL, 
  dao_Fl_GIF_Image_Nums,
  dao_Fl_GIF_Image_Meths, 
  { dao_Fl_Pixmap_Typer, 0 },
  { dao_cast_Fl_GIF_Image_to_Fl_Pixmap,0 },
  Dao_Fl_GIF_Image_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_GIF_Image_Typer = & Fl_GIF_Image_Typer;
/* Fl_GIF_Image.H */
static void dao_Fl_GIF_Image_Fl_GIF_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* filename= (char*) DValue_GetMBString( _p[0] );
	Fl_GIF_Image *_self = Dao_Fl_GIF_Image_New( filename );
	DaoContext_PutCData( _ctx, _self, dao_Fl_GIF_Image_Typer );
}

/*  Fl_Gl_Window.H */


static DaoNumItem dao_Fl_Gl_Window_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Gl_Window_Fl_Gl_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_Fl_Gl_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_as_gl_window__Fl_Gl_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_as_gl_window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_can_do_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_can_do_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_can_do( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_can_do_overlay( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_context( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_context_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_context_valid( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_context_valid_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_flush( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_hide( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_hide_overlay( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_invalidate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_make_current( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_make_overlay_current( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_mode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_mode_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_mode_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_ortho( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_redraw_overlay( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_show( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_swap_buffers( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_valid( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Gl_Window_valid_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Gl_Window_Meths[] = 
{
  { dao_Fl_Gl_Window_Fl_Gl_Window, "Fl_Gl_Window( W : int, H : int, l : string|null=null )=>Fl_Gl_Window" },
  { dao_Fl_Gl_Window_Fl_Gl_Window_dao_2, "Fl_Gl_Window( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Gl_Window" },
  { dao_Fl_Gl_Window_as_gl_window, "as_gl_window( self : Fl_Gl_Window )=>Fl_Gl_Window" },
  { dao_Fl_Gl_Window_can_do_dao_3, "can_do( self : Fl_Gl_Window )=>int" },
  { dao_Fl_Gl_Window_can_do_dao_2, "can_do( m : array<int> )=>int" },
  { dao_Fl_Gl_Window_can_do, "can_do( m : int )=>int" },
  { dao_Fl_Gl_Window_can_do_overlay, "can_do_overlay( self : Fl_Gl_Window )=>int" },
  { dao_Fl_Gl_Window_context, "context( self : Fl_Gl_Window )=>cdata" },
  { dao_Fl_Gl_Window_context_dao_2, "context( self : Fl_Gl_Window, _cp0 : cdata, destroy_flag : int = 0 )" },
  { dao_Fl_Gl_Window_context_valid, "context_valid( self : Fl_Gl_Window )=>int" },
  { dao_Fl_Gl_Window_context_valid_dao_2, "context_valid( self : Fl_Gl_Window, v : int )" },
  { dao_Fl_Gl_Window_draw, "draw( self : Fl_Gl_Window )" },
  { dao_Fl_Gl_Window_flush, "flush( self : Fl_Gl_Window )" },
  { dao_Fl_Gl_Window_hide, "hide( self : Fl_Gl_Window )" },
  { dao_Fl_Gl_Window_hide_overlay, "hide_overlay( self : Fl_Gl_Window )" },
  { dao_Fl_Gl_Window_invalidate, "invalidate( self : Fl_Gl_Window )" },
  { dao_Fl_Gl_Window_make_current, "make_current( self : Fl_Gl_Window )" },
  { dao_Fl_Gl_Window_make_overlay_current, "make_overlay_current( self : Fl_Gl_Window )" },
  { dao_Fl_Gl_Window_mode, "mode( self : Fl_Gl_Window )=>int" },
  { dao_Fl_Gl_Window_mode_dao_3, "mode( self : Fl_Gl_Window, a : array<int> )=>int" },
  { dao_Fl_Gl_Window_mode_dao_2, "mode( self : Fl_Gl_Window, a : int )=>int" },
  { dao_Fl_Gl_Window_ortho, "ortho( self : Fl_Gl_Window )" },
  { dao_Fl_Gl_Window_redraw_overlay, "redraw_overlay( self : Fl_Gl_Window )" },
  { dao_Fl_Gl_Window_resize, "resize( self : Fl_Gl_Window, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Gl_Window_show, "show( self : Fl_Gl_Window )" },
  { dao_Fl_Gl_Window_show_dao_2, "show( self : Fl_Gl_Window, a : int, b : string )" },
  { dao_Fl_Gl_Window_swap_buffers, "swap_buffers( self : Fl_Gl_Window )" },
  { dao_Fl_Gl_Window_valid, "valid( self : Fl_Gl_Window )=>int" },
  { dao_Fl_Gl_Window_valid_dao_2, "valid( self : Fl_Gl_Window, v : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Gl_Window_Delete( void *self )
{
	delete (Fl_Gl_Window*) self;
}
void* dao_cast_Fl_Gl_Window_to_Fl_Window( void *data )
{
	return (Fl_Window*)(Fl_Gl_Window*)data;
}

static DaoTypeBase Fl_Gl_Window_Typer = 
{ "Fl_Gl_Window", NULL, 
  dao_Fl_Gl_Window_Nums,
  dao_Fl_Gl_Window_Meths, 
  { dao_Fl_Window_Typer, 0 },
  { dao_cast_Fl_Gl_Window_to_Fl_Window,0 },
  Dao_Fl_Gl_Window_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Gl_Window_Typer = & Fl_Gl_Window_Typer;
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_Fl_Gl_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  int W= (int) _p[0]->v.i;
  int H= (int) _p[1]->v.i;
  char* l= (char*) DValue_GetMBString( _p[2] );
	DaoCxx_Fl_Gl_Window *_self = DaoCxx_Fl_Gl_Window_New( W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_Fl_Gl_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Gl_Window *_self = DaoCxx_Fl_Gl_Window_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_as_gl_window__Fl_Gl_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  Fl_Gl_Window* _as_gl_window = self->Fl_Gl_Window::as_gl_window(  );
  DaoContext_WrapCData( _ctx, (void*) _as_gl_window, dao_Fl_Gl_Window_Typer );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_as_gl_window( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Gl_Window_as_gl_window__Fl_Gl_Window( _ctx, _p, _n );
    return;
  }
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  Fl_Gl_Window* _as_gl_window = self->as_gl_window(  );
  DaoContext_WrapCData( _ctx, (void*) _as_gl_window, dao_Fl_Gl_Window_Typer );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_can_do_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  int _can_do = self->Fl_Gl_Window::can_do(  );
  DaoContext_PutInteger( _ctx, (int) _can_do );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_can_do_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int* m= (int*) DaoArray_ToInt( _p[0]->v.array );
  int _can_do = Fl_Gl_Window::can_do( m );
  DaoContext_PutInteger( _ctx, (int) _can_do );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_can_do( DaoContext *_ctx, DValue *_p[], int _n )
{
  int m= (int) _p[0]->v.i;
  int _can_do = Fl_Gl_Window::can_do( m );
  DaoContext_PutInteger( _ctx, (int) _can_do );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_can_do_overlay( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  int _can_do_overlay = self->Fl_Gl_Window::can_do_overlay(  );
  DaoContext_PutInteger( _ctx, (int) _can_do_overlay );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_context( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  void* _context = self->Fl_Gl_Window::context(  );
  DaoContext_PutCPointer( _ctx, (void*) _context, 0 );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_context_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  void* _cp0= (void*) DValue_GetCData( _p[1] );
  int destroy_flag= (int) _p[2]->v.i;
  self->Fl_Gl_Window::context( _cp0, destroy_flag );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_context_valid( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  char _context_valid = self->Fl_Gl_Window::context_valid(  );
  DaoContext_PutInteger( _ctx, (int) _context_valid );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_context_valid_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  char v= (char) _p[1]->v.i;
  self->Fl_Gl_Window::context_valid( v );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Gl_Window *self = (DaoCxx_Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_flush( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  self->Fl_Gl_Window::flush(  );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_hide( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  self->Fl_Gl_Window::hide(  );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_hide_overlay( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  self->Fl_Gl_Window::hide_overlay(  );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_invalidate( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  self->Fl_Gl_Window::invalidate(  );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_make_current( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  self->Fl_Gl_Window::make_current(  );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_make_overlay_current( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  self->Fl_Gl_Window::make_overlay_current(  );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_mode( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  Fl_Mode _mode = self->Fl_Gl_Window::mode(  );
  DaoContext_PutInteger( _ctx, (int) _mode );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_mode_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  int* a= (int*) DaoArray_ToInt( _p[1]->v.array );
  int _mode = self->Fl_Gl_Window::mode( a );
  DaoContext_PutInteger( _ctx, (int) _mode );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_mode_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  int a= (int) _p[1]->v.i;
  int _mode = self->Fl_Gl_Window::mode( a );
  DaoContext_PutInteger( _ctx, (int) _mode );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_ortho( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  self->Fl_Gl_Window::ortho(  );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_redraw_overlay( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  self->Fl_Gl_Window::redraw_overlay(  );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->Fl_Gl_Window::resize( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_show( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  self->Fl_Gl_Window::show(  );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  int a= (int) _p[1]->v.i;
  char* b_old = (char*)DValue_GetMBString( _p[2] );
  size_t b_len = strlen( b_old );
  char* b = (char*) malloc( b_len + 1 );
  void* b_p = strncpy( b, b_old, b_len );
  self->Fl_Gl_Window::show( a, & b );
  DString_SetMBS( _p[2]->v.s, (char*) b );
  free( b );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_swap_buffers( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  self->Fl_Gl_Window::swap_buffers(  );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_valid( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  char _valid = self->Fl_Gl_Window::valid(  );
  DaoContext_PutInteger( _ctx, (int) _valid );
}
/* Fl_Gl_Window.H */
static void dao_Fl_Gl_Window_valid_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Gl_Window* self= (Fl_Gl_Window*) DValue_CastCData( _p[0], dao_Fl_Gl_Window_Typer );
  char v= (char) _p[1]->v.i;
  self->Fl_Gl_Window::valid( v );
}

/*  glut.H */


static void dao_Fl_Glut_Bitmap_Font_GETF_font( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Bitmap_Font_SETF_font( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Bitmap_Font_GETF_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Bitmap_Font_SETF_size( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Glut_Bitmap_Font_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Glut_Bitmap_Font_Fl_Glut_Bitmap_Font( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Glut_Bitmap_Font_Meths[] = 
{
  { dao_Fl_Glut_Bitmap_Font_GETF_font, ".font( self : Fl_Glut_Bitmap_Font )=>int" },
  { dao_Fl_Glut_Bitmap_Font_SETF_font, ".font=( self : Fl_Glut_Bitmap_Font, font : int )" },
  { dao_Fl_Glut_Bitmap_Font_GETF_size, ".size( self : Fl_Glut_Bitmap_Font )=>int" },
  { dao_Fl_Glut_Bitmap_Font_SETF_size, ".size=( self : Fl_Glut_Bitmap_Font, size : int )" },
  { dao_Fl_Glut_Bitmap_Font_Fl_Glut_Bitmap_Font, "Fl_Glut_Bitmap_Font(  )=>Fl_Glut_Bitmap_Font" },
  { NULL, NULL }
};
static void Dao_Fl_Glut_Bitmap_Font_Delete( void *self )
{
	delete (Fl_Glut_Bitmap_Font*) self;
}

static DaoTypeBase Fl_Glut_Bitmap_Font_Typer = 
{ "Fl_Glut_Bitmap_Font", NULL, 
  dao_Fl_Glut_Bitmap_Font_Nums,
  dao_Fl_Glut_Bitmap_Font_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Glut_Bitmap_Font_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Glut_Bitmap_Font_Typer = & Fl_Glut_Bitmap_Font_Typer;
static void dao_Fl_Glut_Bitmap_Font_GETF_font( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_Bitmap_Font *self = (Fl_Glut_Bitmap_Font*)DValue_CastCData(_p[0],dao_Fl_Glut_Bitmap_Font_Typer);
  DaoContext_PutInteger( _ctx, (int) self->font );
}
static void dao_Fl_Glut_Bitmap_Font_SETF_font( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_Bitmap_Font *self = (Fl_Glut_Bitmap_Font*)DValue_CastCData(_p[0],dao_Fl_Glut_Bitmap_Font_Typer);
  self->font = (Fl_Font) _p[1]->v.i;
}
static void dao_Fl_Glut_Bitmap_Font_GETF_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_Bitmap_Font *self = (Fl_Glut_Bitmap_Font*)DValue_CastCData(_p[0],dao_Fl_Glut_Bitmap_Font_Typer);
  DaoContext_PutInteger( _ctx, (int) self->size );
}
static void dao_Fl_Glut_Bitmap_Font_SETF_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_Bitmap_Font *self = (Fl_Glut_Bitmap_Font*)DValue_CastCData(_p[0],dao_Fl_Glut_Bitmap_Font_Typer);
  self->size = (Fl_Fontsize) _p[1]->v.i;
}
static void dao_Fl_Glut_Bitmap_Font_Fl_Glut_Bitmap_Font( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Glut_Bitmap_Font *self = Dao_Fl_Glut_Bitmap_Font_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Glut_Bitmap_Font_Typer );
}

/*  glut.H */


static void dao_Fl_Glut_StrokeChar_GETF_Right( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_StrokeChar_GETF_Number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_StrokeChar_SETF_Number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_StrokeChar_GETF_Strips( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Glut_StrokeChar_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Glut_StrokeChar_Fl_Glut_StrokeChar( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Glut_StrokeChar_Meths[] = 
{
  { dao_Fl_Glut_StrokeChar_GETF_Right, ".Right( self : Fl_Glut_StrokeChar )=>GLfloat" },
  { dao_Fl_Glut_StrokeChar_GETF_Number, ".Number( self : Fl_Glut_StrokeChar )=>int" },
  { dao_Fl_Glut_StrokeChar_SETF_Number, ".Number=( self : Fl_Glut_StrokeChar, Number : int )" },
  { dao_Fl_Glut_StrokeChar_GETF_Strips, ".Strips( self : Fl_Glut_StrokeChar )=>Fl_Glut_StrokeStrip" },
  { dao_Fl_Glut_StrokeChar_Fl_Glut_StrokeChar, "Fl_Glut_StrokeChar(  )=>Fl_Glut_StrokeChar" },
  { NULL, NULL }
};
static void Dao_Fl_Glut_StrokeChar_Delete( void *self )
{
	delete (Fl_Glut_StrokeChar*) self;
}

static DaoTypeBase Fl_Glut_StrokeChar_Typer = 
{ "Fl_Glut_StrokeChar", NULL, 
  dao_Fl_Glut_StrokeChar_Nums,
  dao_Fl_Glut_StrokeChar_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Glut_StrokeChar_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Glut_StrokeChar_Typer = & Fl_Glut_StrokeChar_Typer;
static void dao_Fl_Glut_StrokeChar_GETF_Right( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeChar *self = (Fl_Glut_StrokeChar*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeChar_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->Right, dao_GLfloat_Typer );
}
static void dao_Fl_Glut_StrokeChar_GETF_Number( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeChar *self = (Fl_Glut_StrokeChar*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeChar_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Number );
}
static void dao_Fl_Glut_StrokeChar_SETF_Number( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeChar *self = (Fl_Glut_StrokeChar*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeChar_Typer);
  self->Number = (int) _p[1]->v.i;
}
static void dao_Fl_Glut_StrokeChar_GETF_Strips( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeChar *self = (Fl_Glut_StrokeChar*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeChar_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->Strips, dao_Fl_Glut_StrokeStrip_Typer );
}
static void dao_Fl_Glut_StrokeChar_Fl_Glut_StrokeChar( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Glut_StrokeChar *self = Dao_Fl_Glut_StrokeChar_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Glut_StrokeChar_Typer );
}

/*  glut.H */


static void dao_Fl_Glut_StrokeFont_GETF_Name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_StrokeFont_GETF_Quantity( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_StrokeFont_SETF_Quantity( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_StrokeFont_GETF_Height( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Glut_StrokeFont_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Glut_StrokeFont_Fl_Glut_StrokeFont( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Glut_StrokeFont_Meths[] = 
{
  { dao_Fl_Glut_StrokeFont_GETF_Name, ".Name( self : Fl_Glut_StrokeFont )=>string" },
  { dao_Fl_Glut_StrokeFont_GETF_Quantity, ".Quantity( self : Fl_Glut_StrokeFont )=>int" },
  { dao_Fl_Glut_StrokeFont_SETF_Quantity, ".Quantity=( self : Fl_Glut_StrokeFont, Quantity : int )" },
  { dao_Fl_Glut_StrokeFont_GETF_Height, ".Height( self : Fl_Glut_StrokeFont )=>GLfloat" },
  { dao_Fl_Glut_StrokeFont_Fl_Glut_StrokeFont, "Fl_Glut_StrokeFont(  )=>Fl_Glut_StrokeFont" },
  { NULL, NULL }
};
static void Dao_Fl_Glut_StrokeFont_Delete( void *self )
{
	delete (Fl_Glut_StrokeFont*) self;
}

static DaoTypeBase Fl_Glut_StrokeFont_Typer = 
{ "Fl_Glut_StrokeFont", NULL, 
  dao_Fl_Glut_StrokeFont_Nums,
  dao_Fl_Glut_StrokeFont_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Glut_StrokeFont_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Glut_StrokeFont_Typer = & Fl_Glut_StrokeFont_Typer;
static void dao_Fl_Glut_StrokeFont_GETF_Name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeFont *self = (Fl_Glut_StrokeFont*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeFont_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->Name );
}
static void dao_Fl_Glut_StrokeFont_GETF_Quantity( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeFont *self = (Fl_Glut_StrokeFont*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeFont_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Quantity );
}
static void dao_Fl_Glut_StrokeFont_SETF_Quantity( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeFont *self = (Fl_Glut_StrokeFont*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeFont_Typer);
  self->Quantity = (int) _p[1]->v.i;
}
static void dao_Fl_Glut_StrokeFont_GETF_Height( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeFont *self = (Fl_Glut_StrokeFont*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeFont_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->Height, dao_GLfloat_Typer );
}
static void dao_Fl_Glut_StrokeFont_Fl_Glut_StrokeFont( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Glut_StrokeFont *self = Dao_Fl_Glut_StrokeFont_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Glut_StrokeFont_Typer );
}

/*  glut.H */


static void dao_Fl_Glut_StrokeStrip_GETF_Number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_StrokeStrip_SETF_Number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_StrokeStrip_GETF_Vertices( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Glut_StrokeStrip_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Glut_StrokeStrip_Fl_Glut_StrokeStrip( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Glut_StrokeStrip_Meths[] = 
{
  { dao_Fl_Glut_StrokeStrip_GETF_Number, ".Number( self : Fl_Glut_StrokeStrip )=>int" },
  { dao_Fl_Glut_StrokeStrip_SETF_Number, ".Number=( self : Fl_Glut_StrokeStrip, Number : int )" },
  { dao_Fl_Glut_StrokeStrip_GETF_Vertices, ".Vertices( self : Fl_Glut_StrokeStrip )=>Fl_Glut_StrokeVertex" },
  { dao_Fl_Glut_StrokeStrip_Fl_Glut_StrokeStrip, "Fl_Glut_StrokeStrip(  )=>Fl_Glut_StrokeStrip" },
  { NULL, NULL }
};
static void Dao_Fl_Glut_StrokeStrip_Delete( void *self )
{
	delete (Fl_Glut_StrokeStrip*) self;
}

static DaoTypeBase Fl_Glut_StrokeStrip_Typer = 
{ "Fl_Glut_StrokeStrip", NULL, 
  dao_Fl_Glut_StrokeStrip_Nums,
  dao_Fl_Glut_StrokeStrip_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Glut_StrokeStrip_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Glut_StrokeStrip_Typer = & Fl_Glut_StrokeStrip_Typer;
static void dao_Fl_Glut_StrokeStrip_GETF_Number( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeStrip *self = (Fl_Glut_StrokeStrip*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeStrip_Typer);
  DaoContext_PutInteger( _ctx, (int) self->Number );
}
static void dao_Fl_Glut_StrokeStrip_SETF_Number( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeStrip *self = (Fl_Glut_StrokeStrip*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeStrip_Typer);
  self->Number = (int) _p[1]->v.i;
}
static void dao_Fl_Glut_StrokeStrip_GETF_Vertices( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeStrip *self = (Fl_Glut_StrokeStrip*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeStrip_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->Vertices, dao_Fl_Glut_StrokeVertex_Typer );
}
static void dao_Fl_Glut_StrokeStrip_Fl_Glut_StrokeStrip( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Glut_StrokeStrip *self = Dao_Fl_Glut_StrokeStrip_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Glut_StrokeStrip_Typer );
}

/*  glut.H */


static void dao_Fl_Glut_StrokeVertex_GETF_X( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_StrokeVertex_GETF_Y( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Glut_StrokeVertex_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Glut_StrokeVertex_Fl_Glut_StrokeVertex( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Glut_StrokeVertex_Meths[] = 
{
  { dao_Fl_Glut_StrokeVertex_GETF_X, ".X( self : Fl_Glut_StrokeVertex )=>GLfloat" },
  { dao_Fl_Glut_StrokeVertex_GETF_Y, ".Y( self : Fl_Glut_StrokeVertex )=>GLfloat" },
  { dao_Fl_Glut_StrokeVertex_Fl_Glut_StrokeVertex, "Fl_Glut_StrokeVertex(  )=>Fl_Glut_StrokeVertex" },
  { NULL, NULL }
};
static void Dao_Fl_Glut_StrokeVertex_Delete( void *self )
{
	delete (Fl_Glut_StrokeVertex*) self;
}

static DaoTypeBase Fl_Glut_StrokeVertex_Typer = 
{ "Fl_Glut_StrokeVertex", NULL, 
  dao_Fl_Glut_StrokeVertex_Nums,
  dao_Fl_Glut_StrokeVertex_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Glut_StrokeVertex_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Glut_StrokeVertex_Typer = & Fl_Glut_StrokeVertex_Typer;
static void dao_Fl_Glut_StrokeVertex_GETF_X( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeVertex *self = (Fl_Glut_StrokeVertex*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeVertex_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->X, dao_GLfloat_Typer );
}
static void dao_Fl_Glut_StrokeVertex_GETF_Y( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_StrokeVertex *self = (Fl_Glut_StrokeVertex*)DValue_CastCData(_p[0],dao_Fl_Glut_StrokeVertex_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->Y, dao_GLfloat_Typer );
}
static void dao_Fl_Glut_StrokeVertex_Fl_Glut_StrokeVertex( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Glut_StrokeVertex *self = Dao_Fl_Glut_StrokeVertex_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Glut_StrokeVertex_Typer );
}

/*  glut.H */


static void dao_Fl_Glut_Window_GETF_number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Window_SETF_number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Window_GETF_menu( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Window_SETF_menu( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Window_GETI_menu( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Window_SETI_menu( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Glut_Window_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Glut_Window_Fl_Glut_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Window_Fl_Glut_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Window_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Window_draw_overlay( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Window_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Glut_Window_make_current( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Glut_Window_Meths[] = 
{
  { dao_Fl_Glut_Window_GETF_number, ".number( self : Fl_Glut_Window )=>int" },
  { dao_Fl_Glut_Window_SETF_number, ".number=( self : Fl_Glut_Window, number : int )" },
  { dao_Fl_Glut_Window_GETF_menu, ".menu( self : Fl_Glut_Window )=>array<int>" },
  { dao_Fl_Glut_Window_SETF_menu, ".menu=( self : Fl_Glut_Window, menu : array<int> )" },
  { dao_Fl_Glut_Window_GETI_menu, "[]( self : Fl_Glut_Window, i : int )=>int" },
  { dao_Fl_Glut_Window_SETI_menu, "[]=( self : Fl_Glut_Window, i : int, value : int )" },
  { dao_Fl_Glut_Window_Fl_Glut_Window, "Fl_Glut_Window( w : int, h : int, _cp2 : string )=>Fl_Glut_Window" },
  { dao_Fl_Glut_Window_Fl_Glut_Window_dao_2, "Fl_Glut_Window( x : int, y : int, w : int, h : int, _cp4 : string )=>Fl_Glut_Window" },
  { dao_Fl_Glut_Window_draw, "draw( self : Fl_Glut_Window )" },
  { dao_Fl_Glut_Window_draw_overlay, "draw_overlay( self : Fl_Glut_Window )" },
  { dao_Fl_Glut_Window_handle, "handle( self : Fl_Glut_Window, _cp0 : int )=>int" },
  { dao_Fl_Glut_Window_make_current, "make_current( self : Fl_Glut_Window )" },
  { NULL, NULL }
};
static void Dao_Fl_Glut_Window_Delete( void *self )
{
	delete (Fl_Glut_Window*) self;
}
void* dao_cast_Fl_Glut_Window_to_Fl_Gl_Window( void *data )
{
	return (Fl_Gl_Window*)(Fl_Glut_Window*)data;
}

static DaoTypeBase Fl_Glut_Window_Typer = 
{ "Fl_Glut_Window", NULL, 
  dao_Fl_Glut_Window_Nums,
  dao_Fl_Glut_Window_Meths, 
  { dao_Fl_Gl_Window_Typer, 0 },
  { dao_cast_Fl_Glut_Window_to_Fl_Gl_Window,0 },
  Dao_Fl_Glut_Window_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Glut_Window_Typer = & Fl_Glut_Window_Typer;
static void dao_Fl_Glut_Window_GETF_number( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_Window *self = (Fl_Glut_Window*)DValue_CastCData(_p[0],dao_Fl_Glut_Window_Typer);
  DaoContext_PutInteger( _ctx, (int) self->number );
}
static void dao_Fl_Glut_Window_SETF_number( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_Window *self = (Fl_Glut_Window*)DValue_CastCData(_p[0],dao_Fl_Glut_Window_Typer);
  self->number = (int) _p[1]->v.i;
}
static void dao_Fl_Glut_Window_GETF_menu( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_Window *self = (Fl_Glut_Window*)DValue_CastCData(_p[0],dao_Fl_Glut_Window_Typer);
  DaoContext_PutArrayInteger( _ctx, (int*) self->menu, 3 );
}
static void dao_Fl_Glut_Window_SETF_menu( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_Window *self = (Fl_Glut_Window*)DValue_CastCData(_p[0],dao_Fl_Glut_Window_Typer);
  int size = DaoArray_Size( _p[1]->v.array );
  if( size > 3 ) size = 3;
  memmove( self->menu, DaoArray_ToInt( _p[1]->v.array ), size*sizeof(int) );
}
static void dao_Fl_Glut_Window_GETI_menu( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_Window *self = (Fl_Glut_Window*)DValue_CastCData(_p[0],dao_Fl_Glut_Window_Typer);
  DaoContext_PutInteger( _ctx, (int) self->menu[_p[1]->v.i] );
}
static void dao_Fl_Glut_Window_SETI_menu( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_Window *self = (Fl_Glut_Window*)DValue_CastCData(_p[0],dao_Fl_Glut_Window_Typer);
  if( _p[1]->v.i < 0 || _p[1]->v.i >= 3 ) return;
  self->menu[_p[1]->v.i] = _p[2]->v.i;
}
/* glut.H */
static void dao_Fl_Glut_Window_Fl_Glut_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  int w= (int) _p[0]->v.i;
  int h= (int) _p[1]->v.i;
  char* _cp2= (char*) DValue_GetMBString( _p[2] );
	DaoCxx_Fl_Glut_Window *_self = DaoCxx_Fl_Glut_Window_New( w, h, _cp2 );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* glut.H */
static void dao_Fl_Glut_Window_Fl_Glut_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* _cp4= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Glut_Window *_self = DaoCxx_Fl_Glut_Window_New( x, y, w, h, _cp4 );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* glut.H */
static void dao_Fl_Glut_Window_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Glut_Window *self = (DaoCxx_Fl_Glut_Window*) DValue_CastCData( _p[0], dao_Fl_Glut_Window_Typer );
  self->DaoWrap_draw(  );
}
/* glut.H */
static void dao_Fl_Glut_Window_draw_overlay( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Glut_Window *self = (DaoCxx_Fl_Glut_Window*) DValue_CastCData( _p[0], dao_Fl_Glut_Window_Typer );
  self->DaoWrap_draw_overlay(  );
}
/* glut.H */
static void dao_Fl_Glut_Window_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Glut_Window *self = (DaoCxx_Fl_Glut_Window*) DValue_CastCData( _p[0], dao_Fl_Glut_Window_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->DaoWrap_handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* glut.H */
static void dao_Fl_Glut_Window_make_current( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Glut_Window* self= (Fl_Glut_Window*) DValue_CastCData( _p[0], dao_Fl_Glut_Window_Typer );
  self->Fl_Glut_Window::make_current(  );
}

/*  Fl_Help_View.H */


static void dao_Fl_Help_Block_GETF_start( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_GETF_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_GETF_border( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_SETF_border( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_GETF_bgcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_SETF_bgcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_GETF_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_SETF_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_GETF_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_SETF_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_GETF_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_SETF_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_GETF_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_SETF_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_GETF_line( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_SETF_line( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_GETI_line( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Block_SETI_line( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Help_Block_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Help_Block_Fl_Help_Block( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Help_Block_Meths[] = 
{
  { dao_Fl_Help_Block_GETF_start, ".start( self : Fl_Help_Block )=>string" },
  { dao_Fl_Help_Block_GETF_end, ".end( self : Fl_Help_Block )=>string" },
  { dao_Fl_Help_Block_GETF_border, ".border( self : Fl_Help_Block )=>int" },
  { dao_Fl_Help_Block_SETF_border, ".border=( self : Fl_Help_Block, border : int )" },
  { dao_Fl_Help_Block_GETF_bgcolor, ".bgcolor( self : Fl_Help_Block )=>int" },
  { dao_Fl_Help_Block_SETF_bgcolor, ".bgcolor=( self : Fl_Help_Block, bgcolor : int )" },
  { dao_Fl_Help_Block_GETF_x, ".x( self : Fl_Help_Block )=>int" },
  { dao_Fl_Help_Block_SETF_x, ".x=( self : Fl_Help_Block, x : int )" },
  { dao_Fl_Help_Block_GETF_y, ".y( self : Fl_Help_Block )=>int" },
  { dao_Fl_Help_Block_SETF_y, ".y=( self : Fl_Help_Block, y : int )" },
  { dao_Fl_Help_Block_GETF_w, ".w( self : Fl_Help_Block )=>int" },
  { dao_Fl_Help_Block_SETF_w, ".w=( self : Fl_Help_Block, w : int )" },
  { dao_Fl_Help_Block_GETF_h, ".h( self : Fl_Help_Block )=>int" },
  { dao_Fl_Help_Block_SETF_h, ".h=( self : Fl_Help_Block, h : int )" },
  { dao_Fl_Help_Block_GETF_line, ".line( self : Fl_Help_Block )=>array<int>" },
  { dao_Fl_Help_Block_SETF_line, ".line=( self : Fl_Help_Block, line : array<int> )" },
  { dao_Fl_Help_Block_GETI_line, "[]( self : Fl_Help_Block, i : int )=>int" },
  { dao_Fl_Help_Block_SETI_line, "[]=( self : Fl_Help_Block, i : int, value : int )" },
  { dao_Fl_Help_Block_Fl_Help_Block, "Fl_Help_Block(  )=>Fl_Help_Block" },
  { NULL, NULL }
};
static void Dao_Fl_Help_Block_Delete( void *self )
{
	delete (Fl_Help_Block*) self;
}

static DaoTypeBase Fl_Help_Block_Typer = 
{ "Fl_Help_Block", NULL, 
  dao_Fl_Help_Block_Nums,
  dao_Fl_Help_Block_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Help_Block_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Help_Block_Typer = & Fl_Help_Block_Typer;
static void dao_Fl_Help_Block_GETF_start( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->start );
}
static void dao_Fl_Help_Block_GETF_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->end );
}
static void dao_Fl_Help_Block_GETF_border( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  DaoContext_PutInteger( _ctx, (int) self->border );
}
static void dao_Fl_Help_Block_SETF_border( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  self->border = (uchar) _p[1]->v.i;
}
static void dao_Fl_Help_Block_GETF_bgcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  DaoContext_PutInteger( _ctx, (int) self->bgcolor );
}
static void dao_Fl_Help_Block_SETF_bgcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  self->bgcolor = (Fl_Color) _p[1]->v.i;
}
static void dao_Fl_Help_Block_GETF_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  DaoContext_PutInteger( _ctx, (int) self->x );
}
static void dao_Fl_Help_Block_SETF_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  self->x = (int) _p[1]->v.i;
}
static void dao_Fl_Help_Block_GETF_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  DaoContext_PutInteger( _ctx, (int) self->y );
}
static void dao_Fl_Help_Block_SETF_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  self->y = (int) _p[1]->v.i;
}
static void dao_Fl_Help_Block_GETF_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  DaoContext_PutInteger( _ctx, (int) self->w );
}
static void dao_Fl_Help_Block_SETF_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  self->w = (int) _p[1]->v.i;
}
static void dao_Fl_Help_Block_GETF_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  DaoContext_PutInteger( _ctx, (int) self->h );
}
static void dao_Fl_Help_Block_SETF_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  self->h = (int) _p[1]->v.i;
}
static void dao_Fl_Help_Block_GETF_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  DaoContext_PutArrayInteger( _ctx, (int*) self->line, 32 );
}
static void dao_Fl_Help_Block_SETF_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  int size = DaoArray_Size( _p[1]->v.array );
  if( size > 32 ) size = 32;
  memmove( self->line, DaoArray_ToInt( _p[1]->v.array ), size*sizeof(int) );
}
static void dao_Fl_Help_Block_GETI_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  DaoContext_PutInteger( _ctx, (int) self->line[_p[1]->v.i] );
}
static void dao_Fl_Help_Block_SETI_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Block *self = (Fl_Help_Block*)DValue_CastCData(_p[0],dao_Fl_Help_Block_Typer);
  if( _p[1]->v.i < 0 || _p[1]->v.i >= 32 ) return;
  self->line[_p[1]->v.i] = _p[2]->v.i;
}
static void dao_Fl_Help_Block_Fl_Help_Block( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Help_Block *self = Dao_Fl_Help_Block_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Help_Block_Typer );
}

/*  Fl_Help_Dialog.H */


static DaoNumItem dao_Fl_Help_Dialog_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Help_Dialog_Fl_Help_Dialog( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_hide( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_load( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_show( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_topline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_topline_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_visible( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Dialog_y( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Help_Dialog_Meths[] = 
{
  { dao_Fl_Help_Dialog_Fl_Help_Dialog, "Fl_Help_Dialog(  )=>Fl_Help_Dialog" },
  { dao_Fl_Help_Dialog_h, "h( self : Fl_Help_Dialog )=>int" },
  { dao_Fl_Help_Dialog_hide, "hide( self : Fl_Help_Dialog )" },
  { dao_Fl_Help_Dialog_load, "load( self : Fl_Help_Dialog, f : string )" },
  { dao_Fl_Help_Dialog_position, "position( self : Fl_Help_Dialog, xx : int, yy : int )" },
  { dao_Fl_Help_Dialog_resize, "resize( self : Fl_Help_Dialog, xx : int, yy : int, ww : int, hh : int )" },
  { dao_Fl_Help_Dialog_show, "show( self : Fl_Help_Dialog )" },
  { dao_Fl_Help_Dialog_show_dao_2, "show( self : Fl_Help_Dialog, argc : int, argv : string )" },
  { dao_Fl_Help_Dialog_textsize_dao_2, "textsize( self : Fl_Help_Dialog )=>int" },
  { dao_Fl_Help_Dialog_textsize, "textsize( self : Fl_Help_Dialog, s : int )" },
  { dao_Fl_Help_Dialog_topline, "topline( self : Fl_Help_Dialog, n : string )" },
  { dao_Fl_Help_Dialog_topline_dao_2, "topline( self : Fl_Help_Dialog, n : int )" },
  { dao_Fl_Help_Dialog_value_dao_2, "value( self : Fl_Help_Dialog )=>string" },
  { dao_Fl_Help_Dialog_value, "value( self : Fl_Help_Dialog, f : string )" },
  { dao_Fl_Help_Dialog_visible, "visible( self : Fl_Help_Dialog )=>int" },
  { dao_Fl_Help_Dialog_w, "w( self : Fl_Help_Dialog )=>int" },
  { dao_Fl_Help_Dialog_x, "x( self : Fl_Help_Dialog )=>int" },
  { dao_Fl_Help_Dialog_y, "y( self : Fl_Help_Dialog )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Help_Dialog_Delete( void *self )
{
	delete (Fl_Help_Dialog*) self;
}

static DaoTypeBase Fl_Help_Dialog_Typer = 
{ "Fl_Help_Dialog", NULL, 
  dao_Fl_Help_Dialog_Nums,
  dao_Fl_Help_Dialog_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Help_Dialog_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Help_Dialog_Typer = & Fl_Help_Dialog_Typer;
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_Fl_Help_Dialog( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Help_Dialog *_self = Dao_Fl_Help_Dialog_New(  );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Help_Dialog_Typer );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  int _h = self->Fl_Help_Dialog::h(  );
  DaoContext_PutInteger( _ctx, (int) _h );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_hide( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  self->Fl_Help_Dialog::hide(  );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_load( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  char* f= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Help_Dialog::load( f );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  int xx= (int) _p[1]->v.i;
  int yy= (int) _p[2]->v.i;
  self->Fl_Help_Dialog::position( xx, yy );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  int xx= (int) _p[1]->v.i;
  int yy= (int) _p[2]->v.i;
  int ww= (int) _p[3]->v.i;
  int hh= (int) _p[4]->v.i;
  self->Fl_Help_Dialog::resize( xx, yy, ww, hh );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_show( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  self->Fl_Help_Dialog::show(  );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  int argc= (int) _p[1]->v.i;
  char* argv_old = (char*)DValue_GetMBString( _p[2] );
  size_t argv_len = strlen( argv_old );
  char* argv = (char*) malloc( argv_len + 1 );
  void* argv_p = strncpy( argv, argv_old, argv_len );
  self->Fl_Help_Dialog::show( argc, & argv );
  DString_SetMBS( _p[2]->v.s, (char*) argv );
  free( argv );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  Fl_Fontsize _textsize = self->Fl_Help_Dialog::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Help_Dialog::textsize( s );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_topline( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  char* n= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Help_Dialog::topline( n );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_topline_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  int n= (int) _p[1]->v.i;
  self->Fl_Help_Dialog::topline( n );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  const char* _value = self->Fl_Help_Dialog::value(  );
  DaoContext_PutMBString( _ctx, (char*) _value );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  char* f= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Help_Dialog::value( f );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_visible( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  int _visible = self->Fl_Help_Dialog::visible(  );
  DaoContext_PutInteger( _ctx, (int) _visible );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  int _w = self->Fl_Help_Dialog::w(  );
  DaoContext_PutInteger( _ctx, (int) _w );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  int _x = self->Fl_Help_Dialog::x(  );
  DaoContext_PutInteger( _ctx, (int) _x );
}
/* Fl_Help_Dialog.H */
static void dao_Fl_Help_Dialog_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Dialog* self= (Fl_Help_Dialog*) DValue_CastCData( _p[0], dao_Fl_Help_Dialog_Typer );
  int _y = self->Fl_Help_Dialog::y(  );
  DaoContext_PutInteger( _ctx, (int) _y );
}

/*  Fl_Help_View.H */


static DaoNumItem dao_Fl_Help_Font_Stack_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Help_Font_Stack_Fl_Help_Font_Stack( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Stack_count( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Stack_init( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Stack_pop( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Stack_push( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Stack_top( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Help_Font_Stack_Meths[] = 
{
  { dao_Fl_Help_Font_Stack_Fl_Help_Font_Stack, "Fl_Help_Font_Stack(  )=>Fl_Help_Font_Stack" },
  { dao_Fl_Help_Font_Stack_count, "count( self : Fl_Help_Font_Stack )=>int" },
  { dao_Fl_Help_Font_Stack_init, "init( self : Fl_Help_Font_Stack, f : int, s : int, c : int )" },
  { dao_Fl_Help_Font_Stack_pop, "pop( self : Fl_Help_Font_Stack, f : int, s : int, c : int )" },
  { dao_Fl_Help_Font_Stack_push, "push( self : Fl_Help_Font_Stack, f : int, s : int, c : int )" },
  { dao_Fl_Help_Font_Stack_top, "top( self : Fl_Help_Font_Stack, f : int, s : int, c : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Help_Font_Stack_Delete( void *self )
{
	delete (Fl_Help_Font_Stack*) self;
}

static DaoTypeBase Fl_Help_Font_Stack_Typer = 
{ "Fl_Help_Font_Stack", NULL, 
  dao_Fl_Help_Font_Stack_Nums,
  dao_Fl_Help_Font_Stack_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Help_Font_Stack_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Help_Font_Stack_Typer = & Fl_Help_Font_Stack_Typer;
/* Fl_Help_View.H */
static void dao_Fl_Help_Font_Stack_Fl_Help_Font_Stack( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Help_Font_Stack *_self = Dao_Fl_Help_Font_Stack_New(  );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Help_Font_Stack_Typer );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_Font_Stack_count( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Stack* self= (Fl_Help_Font_Stack*) DValue_CastCData( _p[0], dao_Fl_Help_Font_Stack_Typer );
  size_t _count = self->Fl_Help_Font_Stack::count(  );
  DaoContext_PutInteger( _ctx, (int) _count );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_Font_Stack_init( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Stack* self= (Fl_Help_Font_Stack*) DValue_CastCData( _p[0], dao_Fl_Help_Font_Stack_Typer );
  Fl_Font f= (Fl_Font) _p[1]->v.i;
  Fl_Fontsize s= (Fl_Fontsize) _p[2]->v.i;
  Fl_Color c= (Fl_Color) _p[3]->v.i;
  self->Fl_Help_Font_Stack::init( f, s, c );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_Font_Stack_pop( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Stack* self= (Fl_Help_Font_Stack*) DValue_CastCData( _p[0], dao_Fl_Help_Font_Stack_Typer );
  Fl_Font f= (Fl_Font) _p[1]->v.i;
  Fl_Fontsize s= (Fl_Fontsize) _p[2]->v.i;
  Fl_Color c= (Fl_Color) _p[3]->v.i;
  self->Fl_Help_Font_Stack::pop( f, s, c );
  _p[1]->v.i = (int) f;
  _p[2]->v.i = (int) s;
  _p[3]->v.i = (int) c;
}
/* Fl_Help_View.H */
static void dao_Fl_Help_Font_Stack_push( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Stack* self= (Fl_Help_Font_Stack*) DValue_CastCData( _p[0], dao_Fl_Help_Font_Stack_Typer );
  Fl_Font f= (Fl_Font) _p[1]->v.i;
  Fl_Fontsize s= (Fl_Fontsize) _p[2]->v.i;
  Fl_Color c= (Fl_Color) _p[3]->v.i;
  self->Fl_Help_Font_Stack::push( f, s, c );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_Font_Stack_top( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Stack* self= (Fl_Help_Font_Stack*) DValue_CastCData( _p[0], dao_Fl_Help_Font_Stack_Typer );
  Fl_Font f= (Fl_Font) _p[1]->v.i;
  Fl_Fontsize s= (Fl_Fontsize) _p[2]->v.i;
  Fl_Color c= (Fl_Color) _p[3]->v.i;
  self->Fl_Help_Font_Stack::top( f, s, c );
  _p[1]->v.i = (int) f;
  _p[2]->v.i = (int) s;
  _p[3]->v.i = (int) c;
}

/*  Fl_Help_View.H */


static void dao_Fl_Help_Font_Style_GETF_f( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Style_SETF_f( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Style_GETF_s( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Style_SETF_s( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Style_GETF_c( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Style_SETF_c( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Help_Font_Style_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Help_Font_Style_Fl_Help_Font_Style_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Style_Fl_Help_Font_Style( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Style_get( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Font_Style_set( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Help_Font_Style_Meths[] = 
{
  { dao_Fl_Help_Font_Style_GETF_f, ".f( self : Fl_Help_Font_Style )=>int" },
  { dao_Fl_Help_Font_Style_SETF_f, ".f=( self : Fl_Help_Font_Style, f : int )" },
  { dao_Fl_Help_Font_Style_GETF_s, ".s( self : Fl_Help_Font_Style )=>int" },
  { dao_Fl_Help_Font_Style_SETF_s, ".s=( self : Fl_Help_Font_Style, s : int )" },
  { dao_Fl_Help_Font_Style_GETF_c, ".c( self : Fl_Help_Font_Style )=>int" },
  { dao_Fl_Help_Font_Style_SETF_c, ".c=( self : Fl_Help_Font_Style, c : int )" },
  { dao_Fl_Help_Font_Style_Fl_Help_Font_Style_dao_2, "Fl_Help_Font_Style(  )=>Fl_Help_Font_Style" },
  { dao_Fl_Help_Font_Style_Fl_Help_Font_Style, "Fl_Help_Font_Style( afont : int, asize : int, acolor : int )=>Fl_Help_Font_Style" },
  { dao_Fl_Help_Font_Style_get, "get( self : Fl_Help_Font_Style, afont : int, asize : int, acolor : int )" },
  { dao_Fl_Help_Font_Style_set, "set( self : Fl_Help_Font_Style, afont : int, asize : int, acolor : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Help_Font_Style_Delete( void *self )
{
	delete (Fl_Help_Font_Style*) self;
}

static DaoTypeBase Fl_Help_Font_Style_Typer = 
{ "Fl_Help_Font_Style", NULL, 
  dao_Fl_Help_Font_Style_Nums,
  dao_Fl_Help_Font_Style_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Help_Font_Style_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Help_Font_Style_Typer = & Fl_Help_Font_Style_Typer;
static void dao_Fl_Help_Font_Style_GETF_f( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Style *self = (Fl_Help_Font_Style*)DValue_CastCData(_p[0],dao_Fl_Help_Font_Style_Typer);
  DaoContext_PutInteger( _ctx, (int) self->f );
}
static void dao_Fl_Help_Font_Style_SETF_f( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Style *self = (Fl_Help_Font_Style*)DValue_CastCData(_p[0],dao_Fl_Help_Font_Style_Typer);
  self->f = (Fl_Font) _p[1]->v.i;
}
static void dao_Fl_Help_Font_Style_GETF_s( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Style *self = (Fl_Help_Font_Style*)DValue_CastCData(_p[0],dao_Fl_Help_Font_Style_Typer);
  DaoContext_PutInteger( _ctx, (int) self->s );
}
static void dao_Fl_Help_Font_Style_SETF_s( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Style *self = (Fl_Help_Font_Style*)DValue_CastCData(_p[0],dao_Fl_Help_Font_Style_Typer);
  self->s = (Fl_Fontsize) _p[1]->v.i;
}
static void dao_Fl_Help_Font_Style_GETF_c( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Style *self = (Fl_Help_Font_Style*)DValue_CastCData(_p[0],dao_Fl_Help_Font_Style_Typer);
  DaoContext_PutInteger( _ctx, (int) self->c );
}
static void dao_Fl_Help_Font_Style_SETF_c( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Style *self = (Fl_Help_Font_Style*)DValue_CastCData(_p[0],dao_Fl_Help_Font_Style_Typer);
  self->c = (Fl_Color) _p[1]->v.i;
}
/* Fl_Help_View.H */
static void dao_Fl_Help_Font_Style_Fl_Help_Font_Style_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Help_Font_Style *_self = Dao_Fl_Help_Font_Style_New(  );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Help_Font_Style_Typer );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_Font_Style_Fl_Help_Font_Style( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Font afont= (Fl_Font) _p[0]->v.i;
  Fl_Fontsize asize= (Fl_Fontsize) _p[1]->v.i;
  Fl_Color acolor= (Fl_Color) _p[2]->v.i;
	Fl_Help_Font_Style *_self = Dao_Fl_Help_Font_Style_New( afont, asize, acolor );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Help_Font_Style_Typer );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_Font_Style_get( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Style* self= (Fl_Help_Font_Style*) DValue_CastCData( _p[0], dao_Fl_Help_Font_Style_Typer );
  Fl_Font afont= (Fl_Font) _p[1]->v.i;
  Fl_Fontsize asize= (Fl_Fontsize) _p[2]->v.i;
  Fl_Color acolor= (Fl_Color) _p[3]->v.i;
  self->Fl_Help_Font_Style::get( afont, asize, acolor );
  _p[1]->v.i = (int) afont;
  _p[2]->v.i = (int) asize;
  _p[3]->v.i = (int) acolor;
}
/* Fl_Help_View.H */
static void dao_Fl_Help_Font_Style_set( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Font_Style* self= (Fl_Help_Font_Style*) DValue_CastCData( _p[0], dao_Fl_Help_Font_Style_Typer );
  Fl_Font afont= (Fl_Font) _p[1]->v.i;
  Fl_Fontsize asize= (Fl_Fontsize) _p[2]->v.i;
  Fl_Color acolor= (Fl_Color) _p[3]->v.i;
  self->Fl_Help_Font_Style::set( afont, asize, acolor );
}

/*  Fl_Help_View.H */


static void dao_Fl_Help_Link_GETF_filename( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_SETF_filename( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_GETI_filename( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_SETI_filename( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_GETF_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_SETF_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_GETI_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_SETI_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_GETF_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_SETF_x( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_GETF_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_SETF_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_GETF_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_SETF_w( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_GETF_h( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Link_SETF_h( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Help_Link_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Help_Link_Fl_Help_Link( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Help_Link_Meths[] = 
{
  { dao_Fl_Help_Link_GETF_filename, ".filename( self : Fl_Help_Link )=>array<int>" },
  { dao_Fl_Help_Link_SETF_filename, ".filename=( self : Fl_Help_Link, filename : array<int> )" },
  { dao_Fl_Help_Link_GETI_filename, "[]( self : Fl_Help_Link, i : int )=>int" },
  { dao_Fl_Help_Link_SETI_filename, "[]=( self : Fl_Help_Link, i : int, value : int )" },
  { dao_Fl_Help_Link_GETF_name, ".name( self : Fl_Help_Link )=>array<int>" },
  { dao_Fl_Help_Link_SETF_name, ".name=( self : Fl_Help_Link, name : array<int> )" },
  { dao_Fl_Help_Link_GETI_name, "[]( self : Fl_Help_Link, i : int )=>int" },
  { dao_Fl_Help_Link_SETI_name, "[]=( self : Fl_Help_Link, i : int, value : int )" },
  { dao_Fl_Help_Link_GETF_x, ".x( self : Fl_Help_Link )=>int" },
  { dao_Fl_Help_Link_SETF_x, ".x=( self : Fl_Help_Link, x : int )" },
  { dao_Fl_Help_Link_GETF_y, ".y( self : Fl_Help_Link )=>int" },
  { dao_Fl_Help_Link_SETF_y, ".y=( self : Fl_Help_Link, y : int )" },
  { dao_Fl_Help_Link_GETF_w, ".w( self : Fl_Help_Link )=>int" },
  { dao_Fl_Help_Link_SETF_w, ".w=( self : Fl_Help_Link, w : int )" },
  { dao_Fl_Help_Link_GETF_h, ".h( self : Fl_Help_Link )=>int" },
  { dao_Fl_Help_Link_SETF_h, ".h=( self : Fl_Help_Link, h : int )" },
  { dao_Fl_Help_Link_Fl_Help_Link, "Fl_Help_Link(  )=>Fl_Help_Link" },
  { NULL, NULL }
};
static void Dao_Fl_Help_Link_Delete( void *self )
{
	delete (Fl_Help_Link*) self;
}

static DaoTypeBase Fl_Help_Link_Typer = 
{ "Fl_Help_Link", NULL, 
  dao_Fl_Help_Link_Nums,
  dao_Fl_Help_Link_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Help_Link_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Help_Link_Typer = & Fl_Help_Link_Typer;
static void dao_Fl_Help_Link_GETF_filename( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  DaoContext_PutBytes( _ctx, (char*) self->filename, 192 );
}
static void dao_Fl_Help_Link_SETF_filename( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  int size = DString_Size( _p[1]->v.s );
  if( size > 192 ) size = 192;
  memmove( self->filename, DValue_GetMBString( _p[1] ), size );
}
static void dao_Fl_Help_Link_GETI_filename( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  DaoContext_PutInteger( _ctx, (int) self->filename[_p[1]->v.i] );
}
static void dao_Fl_Help_Link_SETI_filename( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  if( _p[1]->v.i < 0 || _p[1]->v.i >= 192 ) return;
  self->filename[_p[1]->v.i] = _p[2]->v.i;
}
static void dao_Fl_Help_Link_GETF_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  DaoContext_PutBytes( _ctx, (char*) self->name, 32 );
}
static void dao_Fl_Help_Link_SETF_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  int size = DString_Size( _p[1]->v.s );
  if( size > 32 ) size = 32;
  memmove( self->name, DValue_GetMBString( _p[1] ), size );
}
static void dao_Fl_Help_Link_GETI_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  DaoContext_PutInteger( _ctx, (int) self->name[_p[1]->v.i] );
}
static void dao_Fl_Help_Link_SETI_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  if( _p[1]->v.i < 0 || _p[1]->v.i >= 32 ) return;
  self->name[_p[1]->v.i] = _p[2]->v.i;
}
static void dao_Fl_Help_Link_GETF_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  DaoContext_PutInteger( _ctx, (int) self->x );
}
static void dao_Fl_Help_Link_SETF_x( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  self->x = (int) _p[1]->v.i;
}
static void dao_Fl_Help_Link_GETF_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  DaoContext_PutInteger( _ctx, (int) self->y );
}
static void dao_Fl_Help_Link_SETF_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  self->y = (int) _p[1]->v.i;
}
static void dao_Fl_Help_Link_GETF_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  DaoContext_PutInteger( _ctx, (int) self->w );
}
static void dao_Fl_Help_Link_SETF_w( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  self->w = (int) _p[1]->v.i;
}
static void dao_Fl_Help_Link_GETF_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  DaoContext_PutInteger( _ctx, (int) self->h );
}
static void dao_Fl_Help_Link_SETF_h( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Link *self = (Fl_Help_Link*)DValue_CastCData(_p[0],dao_Fl_Help_Link_Typer);
  self->h = (int) _p[1]->v.i;
}
static void dao_Fl_Help_Link_Fl_Help_Link( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Help_Link *self = Dao_Fl_Help_Link_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Help_Link_Typer );
}

/*  Fl_Help_View.H */


static void dao_Fl_Help_Target_GETF_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Target_SETF_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Target_GETI_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Target_SETI_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Target_GETF_y( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_Target_SETF_y( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Help_Target_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Help_Target_Fl_Help_Target( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Help_Target_Meths[] = 
{
  { dao_Fl_Help_Target_GETF_name, ".name( self : Fl_Help_Target )=>array<int>" },
  { dao_Fl_Help_Target_SETF_name, ".name=( self : Fl_Help_Target, name : array<int> )" },
  { dao_Fl_Help_Target_GETI_name, "[]( self : Fl_Help_Target, i : int )=>int" },
  { dao_Fl_Help_Target_SETI_name, "[]=( self : Fl_Help_Target, i : int, value : int )" },
  { dao_Fl_Help_Target_GETF_y, ".y( self : Fl_Help_Target )=>int" },
  { dao_Fl_Help_Target_SETF_y, ".y=( self : Fl_Help_Target, y : int )" },
  { dao_Fl_Help_Target_Fl_Help_Target, "Fl_Help_Target(  )=>Fl_Help_Target" },
  { NULL, NULL }
};
static void Dao_Fl_Help_Target_Delete( void *self )
{
	delete (Fl_Help_Target*) self;
}

static DaoTypeBase Fl_Help_Target_Typer = 
{ "Fl_Help_Target", NULL, 
  dao_Fl_Help_Target_Nums,
  dao_Fl_Help_Target_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Help_Target_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Help_Target_Typer = & Fl_Help_Target_Typer;
static void dao_Fl_Help_Target_GETF_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Target *self = (Fl_Help_Target*)DValue_CastCData(_p[0],dao_Fl_Help_Target_Typer);
  DaoContext_PutBytes( _ctx, (char*) self->name, 32 );
}
static void dao_Fl_Help_Target_SETF_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Target *self = (Fl_Help_Target*)DValue_CastCData(_p[0],dao_Fl_Help_Target_Typer);
  int size = DString_Size( _p[1]->v.s );
  if( size > 32 ) size = 32;
  memmove( self->name, DValue_GetMBString( _p[1] ), size );
}
static void dao_Fl_Help_Target_GETI_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Target *self = (Fl_Help_Target*)DValue_CastCData(_p[0],dao_Fl_Help_Target_Typer);
  DaoContext_PutInteger( _ctx, (int) self->name[_p[1]->v.i] );
}
static void dao_Fl_Help_Target_SETI_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Target *self = (Fl_Help_Target*)DValue_CastCData(_p[0],dao_Fl_Help_Target_Typer);
  if( _p[1]->v.i < 0 || _p[1]->v.i >= 32 ) return;
  self->name[_p[1]->v.i] = _p[2]->v.i;
}
static void dao_Fl_Help_Target_GETF_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Target *self = (Fl_Help_Target*)DValue_CastCData(_p[0],dao_Fl_Help_Target_Typer);
  DaoContext_PutInteger( _ctx, (int) self->y );
}
static void dao_Fl_Help_Target_SETF_y( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_Target *self = (Fl_Help_Target*)DValue_CastCData(_p[0],dao_Fl_Help_Target_Typer);
  self->y = (int) _p[1]->v.i;
}
static void dao_Fl_Help_Target_Fl_Help_Target( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Help_Target *self = Dao_Fl_Help_Target_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Help_Target_Typer );
}

/*  Fl_Help_View.H */


static DaoNumItem dao_Fl_Help_View_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Help_View_Fl_Help_View( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_clear_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_directory( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_filename( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_find( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_leftline_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_leftline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_load( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_scrollbar_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_scrollbar_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_select_all( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_title( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_topline_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_topline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_topline_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Help_View_value( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Help_View_Meths[] = 
{
  { dao_Fl_Help_View_Fl_Help_View, "Fl_Help_View( xx : int, yy : int, ww : int, hh : int, l : string|null=null )=>Fl_Help_View" },
  { dao_Fl_Help_View_clear_selection, "clear_selection( self : Fl_Help_View )" },
  { dao_Fl_Help_View_directory, "directory( self : Fl_Help_View )=>string" },
  { dao_Fl_Help_View_filename, "filename( self : Fl_Help_View )=>string" },
  { dao_Fl_Help_View_find, "find( self : Fl_Help_View, s : string, p : int = 0 )=>int" },
  { dao_Fl_Help_View_leftline_dao_2, "leftline( self : Fl_Help_View )=>int" },
  { dao_Fl_Help_View_leftline, "leftline( self : Fl_Help_View, _cp0 : int )" },
  { dao_Fl_Help_View_load, "load( self : Fl_Help_View, f : string )=>int" },
  { dao_Fl_Help_View_resize, "resize( self : Fl_Help_View, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Help_View_scrollbar_size, "scrollbar_size( self : Fl_Help_View )=>int" },
  { dao_Fl_Help_View_scrollbar_size_dao_2, "scrollbar_size( self : Fl_Help_View, size : int )" },
  { dao_Fl_Help_View_select_all, "select_all( self : Fl_Help_View )" },
  { dao_Fl_Help_View_size, "size( self : Fl_Help_View )=>int" },
  { dao_Fl_Help_View_size_dao_2, "size( self : Fl_Help_View, W : int, H : int )" },
  { dao_Fl_Help_View_textcolor_dao_2, "textcolor( self : Fl_Help_View )=>int" },
  { dao_Fl_Help_View_textcolor, "textcolor( self : Fl_Help_View, c : int )" },
  { dao_Fl_Help_View_textfont_dao_2, "textfont( self : Fl_Help_View )=>int" },
  { dao_Fl_Help_View_textfont, "textfont( self : Fl_Help_View, f : int )" },
  { dao_Fl_Help_View_textsize_dao_2, "textsize( self : Fl_Help_View )=>int" },
  { dao_Fl_Help_View_textsize, "textsize( self : Fl_Help_View, s : int )" },
  { dao_Fl_Help_View_title, "title( self : Fl_Help_View )=>string" },
  { dao_Fl_Help_View_topline_dao_3, "topline( self : Fl_Help_View )=>int" },
  { dao_Fl_Help_View_topline, "topline( self : Fl_Help_View, n : string )" },
  { dao_Fl_Help_View_topline_dao_2, "topline( self : Fl_Help_View, _cp0 : int )" },
  { dao_Fl_Help_View_value_dao_2, "value( self : Fl_Help_View )=>string" },
  { dao_Fl_Help_View_value, "value( self : Fl_Help_View, val : string )" },
  { NULL, NULL }
};
static void Dao_Fl_Help_View_Delete( void *self )
{
	delete (Fl_Help_View*) self;
}
void* dao_cast_Fl_Help_View_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Help_View*)data;
}

static DaoTypeBase Fl_Help_View_Typer = 
{ "Fl_Help_View", NULL, 
  dao_Fl_Help_View_Nums,
  dao_Fl_Help_View_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Help_View_to_Fl_Group,0 },
  Dao_Fl_Help_View_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Help_View_Typer = & Fl_Help_View_Typer;
/* Fl_Help_View.H */
static void dao_Fl_Help_View_Fl_Help_View( DaoContext *_ctx, DValue *_p[], int _n )
{
  int xx= (int) _p[0]->v.i;
  int yy= (int) _p[1]->v.i;
  int ww= (int) _p[2]->v.i;
  int hh= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Help_View *_self = DaoCxx_Fl_Help_View_New( xx, yy, ww, hh, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_clear_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  self->Fl_Help_View::clear_selection(  );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_directory( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  const char* _directory = self->Fl_Help_View::directory(  );
  DaoContext_PutMBString( _ctx, (char*) _directory );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_filename( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  const char* _filename = self->Fl_Help_View::filename(  );
  DaoContext_PutMBString( _ctx, (char*) _filename );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_find( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  char* s= (char*) DValue_GetMBString( _p[1] );
  int p= (int) _p[2]->v.i;
  int _find = self->Fl_Help_View::find( s, p );
  DaoContext_PutInteger( _ctx, (int) _find );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_leftline_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  int _leftline = self->Fl_Help_View::leftline(  );
  DaoContext_PutInteger( _ctx, (int) _leftline );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_leftline( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  int _cp0= (int) _p[1]->v.i;
  self->Fl_Help_View::leftline( _cp0 );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_load( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  char* f= (char*) DValue_GetMBString( _p[1] );
  int _load = self->Fl_Help_View::load( f );
  DaoContext_PutInteger( _ctx, (int) _load );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->Fl_Help_View::resize( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_scrollbar_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  int _scrollbar_size = self->Fl_Help_View::scrollbar_size(  );
  DaoContext_PutInteger( _ctx, (int) _scrollbar_size );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_scrollbar_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  int size= (int) _p[1]->v.i;
  self->Fl_Help_View::scrollbar_size( size );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_select_all( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  self->Fl_Help_View::select_all(  );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  int _size = self->Fl_Help_View::size(  );
  DaoContext_PutInteger( _ctx, (int) _size );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  self->Fl_Help_View::size( W, H );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  Fl_Color _textcolor = self->Fl_Help_View::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  self->Fl_Help_View::textcolor( c );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  Fl_Font _textfont = self->Fl_Help_View::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  Fl_Font f= (Fl_Font) _p[1]->v.i;
  self->Fl_Help_View::textfont( f );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  Fl_Fontsize _textsize = self->Fl_Help_View::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Help_View::textsize( s );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_title( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  const char* _title = self->Fl_Help_View::title(  );
  DaoContext_PutMBString( _ctx, (char*) _title );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_topline_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  int _topline = self->Fl_Help_View::topline(  );
  DaoContext_PutInteger( _ctx, (int) _topline );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_topline( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  char* n= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Help_View::topline( n );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_topline_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  int _cp0= (int) _p[1]->v.i;
  self->Fl_Help_View::topline( _cp0 );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  const char* _value = self->Fl_Help_View::value(  );
  DaoContext_PutMBString( _ctx, (char*) _value );
}
/* Fl_Help_View.H */
static void dao_Fl_Help_View_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Help_View* self= (Fl_Help_View*) DValue_CastCData( _p[0], dao_Fl_Help_View_Typer );
  char* val= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Help_View::value( val );
}

/*  Fl_Hold_Browser.H */


static DaoNumItem dao_Fl_Hold_Browser_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Hold_Browser_Fl_Hold_Browser( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Hold_Browser_Meths[] = 
{
  { dao_Fl_Hold_Browser_Fl_Hold_Browser, "Fl_Hold_Browser( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Hold_Browser" },
  { NULL, NULL }
};
static void Dao_Fl_Hold_Browser_Delete( void *self )
{
	delete (Fl_Hold_Browser*) self;
}
void* dao_cast_Fl_Hold_Browser_to_Fl_Browser( void *data )
{
	return (Fl_Browser*)(Fl_Hold_Browser*)data;
}

static DaoTypeBase Fl_Hold_Browser_Typer = 
{ "Fl_Hold_Browser", NULL, 
  dao_Fl_Hold_Browser_Nums,
  dao_Fl_Hold_Browser_Meths, 
  { dao_Fl_Browser_Typer, 0 },
  { dao_cast_Fl_Hold_Browser_to_Fl_Browser,0 },
  Dao_Fl_Hold_Browser_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Hold_Browser_Typer = & Fl_Hold_Browser_Typer;
/* Fl_Hold_Browser.H */
static void dao_Fl_Hold_Browser_Fl_Hold_Browser( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Hold_Browser *_self = DaoCxx_Fl_Hold_Browser_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Hor_Fill_Slider.H */


static DaoNumItem dao_Fl_Hor_Fill_Slider_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Hor_Fill_Slider_Fl_Hor_Fill_Slider( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Hor_Fill_Slider_Meths[] = 
{
  { dao_Fl_Hor_Fill_Slider_Fl_Hor_Fill_Slider, "Fl_Hor_Fill_Slider( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Hor_Fill_Slider" },
  { NULL, NULL }
};
static void Dao_Fl_Hor_Fill_Slider_Delete( void *self )
{
	delete (Fl_Hor_Fill_Slider*) self;
}
void* dao_cast_Fl_Hor_Fill_Slider_to_Fl_Slider( void *data )
{
	return (Fl_Slider*)(Fl_Hor_Fill_Slider*)data;
}

static DaoTypeBase Fl_Hor_Fill_Slider_Typer = 
{ "Fl_Hor_Fill_Slider", NULL, 
  dao_Fl_Hor_Fill_Slider_Nums,
  dao_Fl_Hor_Fill_Slider_Meths, 
  { dao_Fl_Slider_Typer, 0 },
  { dao_cast_Fl_Hor_Fill_Slider_to_Fl_Slider,0 },
  Dao_Fl_Hor_Fill_Slider_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Hor_Fill_Slider_Typer = & Fl_Hor_Fill_Slider_Typer;
/* Fl_Hor_Fill_Slider.H */
static void dao_Fl_Hor_Fill_Slider_Fl_Hor_Fill_Slider( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Hor_Fill_Slider *_self = DaoCxx_Fl_Hor_Fill_Slider_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Hor_Nice_Slider.H */


static DaoNumItem dao_Fl_Hor_Nice_Slider_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Hor_Nice_Slider_Fl_Hor_Nice_Slider( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Hor_Nice_Slider_Meths[] = 
{
  { dao_Fl_Hor_Nice_Slider_Fl_Hor_Nice_Slider, "Fl_Hor_Nice_Slider( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Hor_Nice_Slider" },
  { NULL, NULL }
};
static void Dao_Fl_Hor_Nice_Slider_Delete( void *self )
{
	delete (Fl_Hor_Nice_Slider*) self;
}
void* dao_cast_Fl_Hor_Nice_Slider_to_Fl_Slider( void *data )
{
	return (Fl_Slider*)(Fl_Hor_Nice_Slider*)data;
}

static DaoTypeBase Fl_Hor_Nice_Slider_Typer = 
{ "Fl_Hor_Nice_Slider", NULL, 
  dao_Fl_Hor_Nice_Slider_Nums,
  dao_Fl_Hor_Nice_Slider_Meths, 
  { dao_Fl_Slider_Typer, 0 },
  { dao_cast_Fl_Hor_Nice_Slider_to_Fl_Slider,0 },
  Dao_Fl_Hor_Nice_Slider_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Hor_Nice_Slider_Typer = & Fl_Hor_Nice_Slider_Typer;
/* Fl_Hor_Nice_Slider.H */
static void dao_Fl_Hor_Nice_Slider_Fl_Hor_Nice_Slider( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Hor_Nice_Slider *_self = DaoCxx_Fl_Hor_Nice_Slider_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Hor_Slider.H */


static DaoNumItem dao_Fl_Hor_Slider_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Hor_Slider_Fl_Hor_Slider( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Hor_Slider_Meths[] = 
{
  { dao_Fl_Hor_Slider_Fl_Hor_Slider, "Fl_Hor_Slider( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Hor_Slider" },
  { NULL, NULL }
};
static void Dao_Fl_Hor_Slider_Delete( void *self )
{
	delete (Fl_Hor_Slider*) self;
}
void* dao_cast_Fl_Hor_Slider_to_Fl_Slider( void *data )
{
	return (Fl_Slider*)(Fl_Hor_Slider*)data;
}

static DaoTypeBase Fl_Hor_Slider_Typer = 
{ "Fl_Hor_Slider", NULL, 
  dao_Fl_Hor_Slider_Nums,
  dao_Fl_Hor_Slider_Meths, 
  { dao_Fl_Slider_Typer, 0 },
  { dao_cast_Fl_Hor_Slider_to_Fl_Slider,0 },
  Dao_Fl_Hor_Slider_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Hor_Slider_Typer = & Fl_Hor_Slider_Typer;
/* Fl_Hor_Slider.H */
static void dao_Fl_Hor_Slider_Fl_Hor_Slider( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Hor_Slider *_self = DaoCxx_Fl_Hor_Slider_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Value_Slider.H */


static DaoNumItem dao_Fl_Value_Slider_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Value_Slider_Fl_Value_Slider( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Slider_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Slider_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Slider_textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Slider_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Slider_textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Slider_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Slider_textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Slider_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Value_Slider_Meths[] = 
{
  { dao_Fl_Value_Slider_Fl_Value_Slider, "Fl_Value_Slider( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Value_Slider" },
  { dao_Fl_Value_Slider_draw, "draw( self : Fl_Value_Slider )" },
  { dao_Fl_Value_Slider_handle, "handle( self : Fl_Value_Slider, _cp0 : int )=>int" },
  { dao_Fl_Value_Slider_textcolor, "textcolor( self : Fl_Value_Slider )=>int" },
  { dao_Fl_Value_Slider_textcolor_dao_2, "textcolor( self : Fl_Value_Slider, s : int )" },
  { dao_Fl_Value_Slider_textfont, "textfont( self : Fl_Value_Slider )=>int" },
  { dao_Fl_Value_Slider_textfont_dao_2, "textfont( self : Fl_Value_Slider, s : int )" },
  { dao_Fl_Value_Slider_textsize, "textsize( self : Fl_Value_Slider )=>int" },
  { dao_Fl_Value_Slider_textsize_dao_2, "textsize( self : Fl_Value_Slider, s : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Value_Slider_Delete( void *self )
{
	delete (Fl_Value_Slider*) self;
}
void* dao_cast_Fl_Value_Slider_to_Fl_Slider( void *data )
{
	return (Fl_Slider*)(Fl_Value_Slider*)data;
}

static DaoTypeBase Fl_Value_Slider_Typer = 
{ "Fl_Value_Slider", NULL, 
  dao_Fl_Value_Slider_Nums,
  dao_Fl_Value_Slider_Meths, 
  { dao_Fl_Slider_Typer, 0 },
  { dao_cast_Fl_Value_Slider_to_Fl_Slider,0 },
  Dao_Fl_Value_Slider_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Value_Slider_Typer = & Fl_Value_Slider_Typer;
/* Fl_Value_Slider.H */
static void dao_Fl_Value_Slider_Fl_Value_Slider( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Value_Slider *_self = DaoCxx_Fl_Value_Slider_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Value_Slider.H */
static void dao_Fl_Value_Slider_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Value_Slider *self = (DaoCxx_Fl_Value_Slider*) DValue_CastCData( _p[0], dao_Fl_Value_Slider_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Value_Slider.H */
static void dao_Fl_Value_Slider_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Slider* self= (Fl_Value_Slider*) DValue_CastCData( _p[0], dao_Fl_Value_Slider_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Value_Slider::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Value_Slider.H */
static void dao_Fl_Value_Slider_textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Slider* self= (Fl_Value_Slider*) DValue_CastCData( _p[0], dao_Fl_Value_Slider_Typer );
  Fl_Color _textcolor = self->Fl_Value_Slider::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Value_Slider.H */
static void dao_Fl_Value_Slider_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Slider* self= (Fl_Value_Slider*) DValue_CastCData( _p[0], dao_Fl_Value_Slider_Typer );
  Fl_Color s= (Fl_Color) _p[1]->v.i;
  self->Fl_Value_Slider::textcolor( s );
}
/* Fl_Value_Slider.H */
static void dao_Fl_Value_Slider_textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Slider* self= (Fl_Value_Slider*) DValue_CastCData( _p[0], dao_Fl_Value_Slider_Typer );
  Fl_Font _textfont = self->Fl_Value_Slider::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_Value_Slider.H */
static void dao_Fl_Value_Slider_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Slider* self= (Fl_Value_Slider*) DValue_CastCData( _p[0], dao_Fl_Value_Slider_Typer );
  Fl_Font s= (Fl_Font) _p[1]->v.i;
  self->Fl_Value_Slider::textfont( s );
}
/* Fl_Value_Slider.H */
static void dao_Fl_Value_Slider_textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Slider* self= (Fl_Value_Slider*) DValue_CastCData( _p[0], dao_Fl_Value_Slider_Typer );
  Fl_Fontsize _textsize = self->Fl_Value_Slider::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Value_Slider.H */
static void dao_Fl_Value_Slider_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Slider* self= (Fl_Value_Slider*) DValue_CastCData( _p[0], dao_Fl_Value_Slider_Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Value_Slider::textsize( s );
}

/*  Fl_Hor_Value_Slider.H */


static DaoNumItem dao_Fl_Hor_Value_Slider_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Hor_Value_Slider_Fl_Hor_Value_Slider( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Hor_Value_Slider_Meths[] = 
{
  { dao_Fl_Hor_Value_Slider_Fl_Hor_Value_Slider, "Fl_Hor_Value_Slider( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Hor_Value_Slider" },
  { NULL, NULL }
};
static void Dao_Fl_Hor_Value_Slider_Delete( void *self )
{
	delete (Fl_Hor_Value_Slider*) self;
}
void* dao_cast_Fl_Hor_Value_Slider_to_Fl_Value_Slider( void *data )
{
	return (Fl_Value_Slider*)(Fl_Hor_Value_Slider*)data;
}

static DaoTypeBase Fl_Hor_Value_Slider_Typer = 
{ "Fl_Hor_Value_Slider", NULL, 
  dao_Fl_Hor_Value_Slider_Nums,
  dao_Fl_Hor_Value_Slider_Meths, 
  { dao_Fl_Value_Slider_Typer, 0 },
  { dao_cast_Fl_Hor_Value_Slider_to_Fl_Value_Slider,0 },
  Dao_Fl_Hor_Value_Slider_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Hor_Value_Slider_Typer = & Fl_Hor_Value_Slider_Typer;
/* Fl_Hor_Value_Slider.H */
static void dao_Fl_Hor_Value_Slider_Fl_Hor_Value_Slider( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Hor_Value_Slider *_self = DaoCxx_Fl_Hor_Value_Slider_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Input_Choice.H */


static DaoNumItem dao_Fl_Input_Choice_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Input_Choice_Fl_Input_Choice( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_changed( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_clear_changed( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_down_box( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_down_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_input( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_menu( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_menu_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_menubutton( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_set_changed( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Input_Choice_value_dao_3( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Input_Choice_Meths[] = 
{
  { dao_Fl_Input_Choice_Fl_Input_Choice, "Fl_Input_Choice( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Input_Choice" },
  { dao_Fl_Input_Choice_add, "add( self : Fl_Input_Choice, s : string )" },
  { dao_Fl_Input_Choice_changed, "changed( self : Fl_Input_Choice )=>int" },
  { dao_Fl_Input_Choice_clear, "clear( self : Fl_Input_Choice )" },
  { dao_Fl_Input_Choice_clear_changed, "clear_changed( self : Fl_Input_Choice )" },
  { dao_Fl_Input_Choice_down_box, "down_box( self : Fl_Input_Choice )=>int" },
  { dao_Fl_Input_Choice_down_box_dao_2, "down_box( self : Fl_Input_Choice, b : int )" },
  { dao_Fl_Input_Choice_input, "input( self : Fl_Input_Choice )=>Fl_Input" },
  { dao_Fl_Input_Choice_menu, "menu( self : Fl_Input_Choice )=>Fl_Menu_Item" },
  { dao_Fl_Input_Choice_menu_dao_2, "menu( self : Fl_Input_Choice, m : Fl_Menu_Item )" },
  { dao_Fl_Input_Choice_menubutton, "menubutton( self : Fl_Input_Choice )=>Fl_Menu_Button" },
  { dao_Fl_Input_Choice_resize, "resize( self : Fl_Input_Choice, X : int, Y : int, W : int, H : int )" },
  { dao_Fl_Input_Choice_set_changed, "set_changed( self : Fl_Input_Choice )" },
  { dao_Fl_Input_Choice_textcolor, "textcolor( self : Fl_Input_Choice )=>int" },
  { dao_Fl_Input_Choice_textcolor_dao_2, "textcolor( self : Fl_Input_Choice, c : int )" },
  { dao_Fl_Input_Choice_textfont, "textfont( self : Fl_Input_Choice )=>int" },
  { dao_Fl_Input_Choice_textfont_dao_2, "textfont( self : Fl_Input_Choice, f : int )" },
  { dao_Fl_Input_Choice_textsize, "textsize( self : Fl_Input_Choice )=>int" },
  { dao_Fl_Input_Choice_textsize_dao_2, "textsize( self : Fl_Input_Choice, s : int )" },
  { dao_Fl_Input_Choice_value, "value( self : Fl_Input_Choice )=>string" },
  { dao_Fl_Input_Choice_value_dao_2, "value( self : Fl_Input_Choice, val : string )" },
  { dao_Fl_Input_Choice_value_dao_3, "value( self : Fl_Input_Choice, val : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Input_Choice_Delete( void *self )
{
	delete (Fl_Input_Choice*) self;
}
void* dao_cast_Fl_Input_Choice_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Input_Choice*)data;
}

static DaoTypeBase Fl_Input_Choice_Typer = 
{ "Fl_Input_Choice", NULL, 
  dao_Fl_Input_Choice_Nums,
  dao_Fl_Input_Choice_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Input_Choice_to_Fl_Group,0 },
  Dao_Fl_Input_Choice_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Input_Choice_Typer = & Fl_Input_Choice_Typer;
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_Fl_Input_Choice( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Input_Choice *_self = DaoCxx_Fl_Input_Choice_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_add( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  char* s= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Input_Choice::add( s );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_changed( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  int _changed = self->Fl_Input_Choice::changed(  );
  DaoContext_PutInteger( _ctx, (int) _changed );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  self->Fl_Input_Choice::clear(  );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_clear_changed( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  self->Fl_Input_Choice::clear_changed(  );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_down_box( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  Fl_Boxtype _down_box = self->Fl_Input_Choice::down_box(  );
  DaoContext_PutInteger( _ctx, (int) _down_box );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_down_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  Fl_Boxtype b= (Fl_Boxtype) _p[1]->v.i;
  self->Fl_Input_Choice::down_box( b );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_input( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  Fl_Input* _input = self->Fl_Input_Choice::input(  );
  DaoContext_WrapCData( _ctx, (void*) _input, dao_Fl_Input_Typer );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_menu( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  const Fl_Menu_Item* _menu = self->Fl_Input_Choice::menu(  );
  DaoContext_WrapCData( _ctx, (void*) _menu, dao_Fl_Menu_Item_Typer );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_menu_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  Fl_Menu_Item* m= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  self->Fl_Input_Choice::menu( m );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_menubutton( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  Fl_Menu_Button* _menubutton = self->Fl_Input_Choice::menubutton(  );
  DaoContext_WrapCData( _ctx, (void*) _menubutton, dao_Fl_Menu_Button_Typer );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  self->Fl_Input_Choice::resize( X, Y, W, H );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_set_changed( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  self->Fl_Input_Choice::set_changed(  );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  Fl_Color _textcolor = self->Fl_Input_Choice::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  self->Fl_Input_Choice::textcolor( c );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  Fl_Font _textfont = self->Fl_Input_Choice::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  Fl_Font f= (Fl_Font) _p[1]->v.i;
  self->Fl_Input_Choice::textfont( f );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  Fl_Fontsize _textsize = self->Fl_Input_Choice::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Input_Choice::textsize( s );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  const char* _value = self->Fl_Input_Choice::value(  );
  DaoContext_PutMBString( _ctx, (char*) _value );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  char* val= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Input_Choice::value( val );
}
/* Fl_Input_Choice.H */
static void dao_Fl_Input_Choice_value_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Input_Choice* self= (Fl_Input_Choice*) DValue_CastCData( _p[0], dao_Fl_Input_Choice_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Input_Choice::value( val );
}

/*  Fl_Input_Choice.H */


static DaoNumItem dao_Fl_Input_Choice_InputMenuButton_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Input_Choice_InputMenuButton_Meths[] = 
{
  { NULL, NULL }
};

static DaoTypeBase Fl_Input_Choice_InputMenuButton_Typer = 
{ "Fl_Input_Choice_InputMenuButton", NULL, 
  dao_Fl_Input_Choice_InputMenuButton_Nums,
  dao_Fl_Input_Choice_InputMenuButton_Meths, 
  { 0 },
  { 0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Input_Choice_InputMenuButton_Typer = & Fl_Input_Choice_InputMenuButton_Typer;

/*  Fl_Int_Input.H */


static DaoNumItem dao_Fl_Int_Input_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Int_Input_Fl_Int_Input( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Int_Input_Meths[] = 
{
  { dao_Fl_Int_Input_Fl_Int_Input, "Fl_Int_Input( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Int_Input" },
  { NULL, NULL }
};
static void Dao_Fl_Int_Input_Delete( void *self )
{
	delete (Fl_Int_Input*) self;
}
void* dao_cast_Fl_Int_Input_to_Fl_Input( void *data )
{
	return (Fl_Input*)(Fl_Int_Input*)data;
}

static DaoTypeBase Fl_Int_Input_Typer = 
{ "Fl_Int_Input", NULL, 
  dao_Fl_Int_Input_Nums,
  dao_Fl_Int_Input_Meths, 
  { dao_Fl_Input_Typer, 0 },
  { dao_cast_Fl_Int_Input_to_Fl_Input,0 },
  Dao_Fl_Int_Input_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Int_Input_Typer = & Fl_Int_Input_Typer;
/* Fl_Int_Input.H */
static void dao_Fl_Int_Input_Fl_Int_Input( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Int_Input *_self = DaoCxx_Fl_Int_Input_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_JPEG_Image.H */


static DaoNumItem dao_Fl_JPEG_Image_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_JPEG_Image_Fl_JPEG_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_JPEG_Image_Fl_JPEG_Image_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_JPEG_Image_Meths[] = 
{
  { dao_Fl_JPEG_Image_Fl_JPEG_Image, "Fl_JPEG_Image( filename : string )=>Fl_JPEG_Image" },
  { dao_Fl_JPEG_Image_Fl_JPEG_Image_dao_2, "Fl_JPEG_Image( name : string, data : string )=>Fl_JPEG_Image" },
  { NULL, NULL }
};
static void Dao_Fl_JPEG_Image_Delete( void *self )
{
	delete (Fl_JPEG_Image*) self;
}
void* dao_cast_Fl_JPEG_Image_to_Fl_RGB_Image( void *data )
{
	return (Fl_RGB_Image*)(Fl_JPEG_Image*)data;
}

static DaoTypeBase Fl_JPEG_Image_Typer = 
{ "Fl_JPEG_Image", NULL, 
  dao_Fl_JPEG_Image_Nums,
  dao_Fl_JPEG_Image_Meths, 
  { dao_Fl_RGB_Image_Typer, 0 },
  { dao_cast_Fl_JPEG_Image_to_Fl_RGB_Image,0 },
  Dao_Fl_JPEG_Image_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_JPEG_Image_Typer = & Fl_JPEG_Image_Typer;
/* Fl_JPEG_Image.H */
static void dao_Fl_JPEG_Image_Fl_JPEG_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* filename= (char*) DValue_GetMBString( _p[0] );
	DaoCxx_Fl_JPEG_Image *_self = DaoCxx_Fl_JPEG_Image_New( filename );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_JPEG_Image.H */
static void dao_Fl_JPEG_Image_Fl_JPEG_Image_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* name= (char*) DValue_GetMBString( _p[0] );
  unsigned char* data= (unsigned char*) DValue_GetMBString( _p[1] );
	DaoCxx_Fl_JPEG_Image *_self = DaoCxx_Fl_JPEG_Image_New( name, data );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Widget.H */


static void dao_Fl_Label_GETF_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_GETF_image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_GETF_deimage( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_GETF_font( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_SETF_font( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_GETF_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_SETF_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_GETF_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_SETF_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_GETF_align_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_SETF_align_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_GETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_SETF_type( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Label_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Label_Fl_Label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Label_measure( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Label_Meths[] = 
{
  { dao_Fl_Label_GETF_value, ".value( self : Fl_Label )=>string" },
  { dao_Fl_Label_GETF_image, ".image( self : Fl_Label )=>Fl_Image" },
  { dao_Fl_Label_GETF_deimage, ".deimage( self : Fl_Label )=>Fl_Image" },
  { dao_Fl_Label_GETF_font, ".font( self : Fl_Label )=>int" },
  { dao_Fl_Label_SETF_font, ".font=( self : Fl_Label, font : int )" },
  { dao_Fl_Label_GETF_size, ".size( self : Fl_Label )=>int" },
  { dao_Fl_Label_SETF_size, ".size=( self : Fl_Label, size : int )" },
  { dao_Fl_Label_GETF_color, ".color( self : Fl_Label )=>int" },
  { dao_Fl_Label_SETF_color, ".color=( self : Fl_Label, color : int )" },
  { dao_Fl_Label_GETF_align_, ".align_( self : Fl_Label )=>int" },
  { dao_Fl_Label_SETF_align_, ".align_=( self : Fl_Label, align_ : int )" },
  { dao_Fl_Label_GETF_type, ".type( self : Fl_Label )=>int" },
  { dao_Fl_Label_SETF_type, ".type=( self : Fl_Label, type : int )" },
  { dao_Fl_Label_Fl_Label, "Fl_Label(  )=>Fl_Label" },
  { dao_Fl_Label_draw, "draw( self : Fl_Label, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : int )" },
  { dao_Fl_Label_measure, "measure( self : Fl_Label, w : int, h : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Label_Delete( void *self )
{
	delete (Fl_Label*) self;
}

static DaoTypeBase Fl_Label_Typer = 
{ "Fl_Label", NULL, 
  dao_Fl_Label_Nums,
  dao_Fl_Label_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Label_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Label_Typer = & Fl_Label_Typer;
static void dao_Fl_Label_GETF_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->value );
}
static void dao_Fl_Label_GETF_image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->image, dao_Fl_Image_Typer );
}
static void dao_Fl_Label_GETF_deimage( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  DaoContext_WrapCData( _ctx, (void*) self->deimage, dao_Fl_Image_Typer );
}
static void dao_Fl_Label_GETF_font( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  DaoContext_PutInteger( _ctx, (int) self->font );
}
static void dao_Fl_Label_SETF_font( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  self->font = (Fl_Font) _p[1]->v.i;
}
static void dao_Fl_Label_GETF_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  DaoContext_PutInteger( _ctx, (int) self->size );
}
static void dao_Fl_Label_SETF_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  self->size = (Fl_Fontsize) _p[1]->v.i;
}
static void dao_Fl_Label_GETF_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  DaoContext_PutInteger( _ctx, (int) self->color );
}
static void dao_Fl_Label_SETF_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  self->color = (Fl_Color) _p[1]->v.i;
}
static void dao_Fl_Label_GETF_align_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  DaoContext_PutInteger( _ctx, (int) self->align_ );
}
static void dao_Fl_Label_SETF_align_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  self->align_ = (Fl_Align) _p[1]->v.i;
}
static void dao_Fl_Label_GETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  DaoContext_PutInteger( _ctx, (int) self->type );
}
static void dao_Fl_Label_SETF_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label *self = (Fl_Label*)DValue_CastCData(_p[0],dao_Fl_Label_Typer);
  self->type = (uchar) _p[1]->v.i;
}
static void dao_Fl_Label_Fl_Label( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Label *self = Dao_Fl_Label_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Label_Typer );
}
/* Fl_Widget.H */
static void dao_Fl_Label_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label* self= (Fl_Label*) DValue_CastCData( _p[0], dao_Fl_Label_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  Fl_Align _cp4= (Fl_Align) _p[5]->v.i;
  self->Fl_Label::draw( _cp0, _cp1, _cp2, _cp3, _cp4 );
}
/* Fl_Widget.H */
static void dao_Fl_Label_measure( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Label* self= (Fl_Label*) DValue_CastCData( _p[0], dao_Fl_Label_Typer );
  int w= (int) _p[1]->v.i;
  int h= (int) _p[2]->v.i;
  self->Fl_Label::measure( w, h );
  _p[1]->v.i = (int) w;
  _p[2]->v.i = (int) h;
}

/*  Fl_Line_Dial.H */


static DaoNumItem dao_Fl_Line_Dial_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Line_Dial_Fl_Line_Dial( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Line_Dial_Meths[] = 
{
  { dao_Fl_Line_Dial_Fl_Line_Dial, "Fl_Line_Dial( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Line_Dial" },
  { NULL, NULL }
};
static void Dao_Fl_Line_Dial_Delete( void *self )
{
	delete (Fl_Line_Dial*) self;
}
void* dao_cast_Fl_Line_Dial_to_Fl_Dial( void *data )
{
	return (Fl_Dial*)(Fl_Line_Dial*)data;
}

static DaoTypeBase Fl_Line_Dial_Typer = 
{ "Fl_Line_Dial", NULL, 
  dao_Fl_Line_Dial_Nums,
  dao_Fl_Line_Dial_Meths, 
  { dao_Fl_Dial_Typer, 0 },
  { dao_cast_Fl_Line_Dial_to_Fl_Dial,0 },
  Dao_Fl_Line_Dial_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Line_Dial_Typer = & Fl_Line_Dial_Typer;
/* Fl_Line_Dial.H */
static void dao_Fl_Line_Dial_Fl_Line_Dial( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Line_Dial *_self = DaoCxx_Fl_Line_Dial_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Browser.H */


static DaoNumItem dao_Fl_Line_Position_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Line_Position_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Line_Position_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Line_Position_Typer = 
{ "Fl_Line_Position", NULL, 
  dao_Fl_Line_Position_Nums,
  dao_Fl_Line_Position_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Line_Position_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Line_Position_Typer = & Fl_Line_Position_Typer;

/*  Fl_Menu_Item.H */


static void dao_Fl_Menu_Item_GETF_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_GETF_shortcut_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_SETF_shortcut_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_GETF_user_data_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_GETF_flags( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_SETF_flags( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_GETF_labeltype_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_SETF_labeltype_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_GETF_labelfont_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_SETF_labelfont_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_GETF_labelsize_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_SETF_labelsize_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_GETF_labelcolor_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_SETF_labelcolor_( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Menu_Item_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Menu_Item_Fl_Menu_Item( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_activate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_active( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_activevisible( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_add_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_argument( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_argument_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_check( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_checkbox( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_checked( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_deactivate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_do_callback( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_do_callback_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_do_callback_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_find_shortcut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_first_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_first( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_hide( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_image_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_label_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_labelcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_labelcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_labelfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_labelfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_labelsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_labelsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_labeltype( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_labeltype_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_measure( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_next_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_next( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_popup( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_pulldown( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_radio( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_set( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_setonly( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_shortcut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_shortcut_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_show( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_submenu( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_test_shortcut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_uncheck( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_user_data( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_user_data_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Item_visible( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Menu_Item_Meths[] = 
{
  { dao_Fl_Menu_Item_GETF_text, ".text( self : Fl_Menu_Item )=>string" },
  { dao_Fl_Menu_Item_GETF_shortcut_, ".shortcut_( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_SETF_shortcut_, ".shortcut_=( self : Fl_Menu_Item, shortcut_ : int )" },
  { dao_Fl_Menu_Item_GETF_user_data_, ".user_data_( self : Fl_Menu_Item )=>cdata" },
  { dao_Fl_Menu_Item_GETF_flags, ".flags( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_SETF_flags, ".flags=( self : Fl_Menu_Item, flags : int )" },
  { dao_Fl_Menu_Item_GETF_labeltype_, ".labeltype_( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_SETF_labeltype_, ".labeltype_=( self : Fl_Menu_Item, labeltype_ : int )" },
  { dao_Fl_Menu_Item_GETF_labelfont_, ".labelfont_( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_SETF_labelfont_, ".labelfont_=( self : Fl_Menu_Item, labelfont_ : int )" },
  { dao_Fl_Menu_Item_GETF_labelsize_, ".labelsize_( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_SETF_labelsize_, ".labelsize_=( self : Fl_Menu_Item, labelsize_ : int )" },
  { dao_Fl_Menu_Item_GETF_labelcolor_, ".labelcolor_( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_SETF_labelcolor_, ".labelcolor_=( self : Fl_Menu_Item, labelcolor_ : int )" },
  { dao_Fl_Menu_Item_Fl_Menu_Item, "Fl_Menu_Item(  )=>Fl_Menu_Item" },
  { dao_Fl_Menu_Item_activate, "activate( self : Fl_Menu_Item )" },
  { dao_Fl_Menu_Item_active, "active( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_activevisible, "activevisible( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_add_dao_2, "add( self : Fl_Menu_Item, s : string, sc : string, cb : any, userdata : any|null=null, i : int=0  )=>int" },
  { dao_Fl_Menu_Item_add, "add( self : Fl_Menu_Item, s : string, sc : int, cb : any, userdata : any|null=null, i : int=0  )=>int" },
  { dao_Fl_Menu_Item_argument, "argument( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_argument_dao_2, "argument( self : Fl_Menu_Item, v : int )" },
  { dao_Fl_Menu_Item_check, "check( self : Fl_Menu_Item )" },
  { dao_Fl_Menu_Item_checkbox, "checkbox( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_checked, "checked( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_clear, "clear( self : Fl_Menu_Item )" },
  { dao_Fl_Menu_Item_deactivate, "deactivate( self : Fl_Menu_Item )" },
  { dao_Fl_Menu_Item_do_callback, "do_callback( self : Fl_Menu_Item, o : Fl_Widget )" },
  { dao_Fl_Menu_Item_do_callback_dao_3, "do_callback( self : Fl_Menu_Item, o : Fl_Widget, arg : int )" },
  { dao_Fl_Menu_Item_do_callback_dao_2, "do_callback( self : Fl_Menu_Item, o : Fl_Widget, arg : cdata )" },
  { dao_Fl_Menu_Item_draw, "draw( self : Fl_Menu_Item, x : int, y : int, w : int, h : int, _cp4 : Fl_Menu_, t : int=0 )" },
  { dao_Fl_Menu_Item_find_shortcut, "find_shortcut( self : Fl_Menu_Item, ip : int|null=null )=>Fl_Menu_Item" },
  { dao_Fl_Menu_Item_first_dao_2, "first( self : Fl_Menu_Item )=>Fl_Menu_Item" },
  { dao_Fl_Menu_Item_first, "first( self : Fl_Menu_Item )=>Fl_Menu_Item" },
  { dao_Fl_Menu_Item_hide, "hide( self : Fl_Menu_Item )" },
  { dao_Fl_Menu_Item_image_dao_2, "image( self : Fl_Menu_Item, a : Fl_Image )" },
  { dao_Fl_Menu_Item_image, "image( self : Fl_Menu_Item, a : Fl_Image )" },
  { dao_Fl_Menu_Item_label, "label( self : Fl_Menu_Item )=>string" },
  { dao_Fl_Menu_Item_label_dao_3, "label( self : Fl_Menu_Item, a : int, b : string )" },
  { dao_Fl_Menu_Item_label_dao_2, "label( self : Fl_Menu_Item, a : string )" },
  { dao_Fl_Menu_Item_labelcolor, "labelcolor( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_labelcolor_dao_2, "labelcolor( self : Fl_Menu_Item, a : int )" },
  { dao_Fl_Menu_Item_labelfont, "labelfont( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_labelfont_dao_2, "labelfont( self : Fl_Menu_Item, a : int )" },
  { dao_Fl_Menu_Item_labelsize, "labelsize( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_labelsize_dao_2, "labelsize( self : Fl_Menu_Item, a : int )" },
  { dao_Fl_Menu_Item_labeltype, "labeltype( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_labeltype_dao_2, "labeltype( self : Fl_Menu_Item, a : int )" },
  { dao_Fl_Menu_Item_measure, "measure( self : Fl_Menu_Item, h : int, _cp1 : Fl_Menu_ )=>int" },
  { dao_Fl_Menu_Item_next_dao_2, "next( self : Fl_Menu_Item, i : int=1 )=>Fl_Menu_Item" },
  { dao_Fl_Menu_Item_next, "next( self : Fl_Menu_Item, _cp0 : int=1 )=>Fl_Menu_Item" },
  { dao_Fl_Menu_Item_popup, "popup( self : Fl_Menu_Item, X : int, Y : int, title : string|null=null, picked : Fl_Menu_Item|null=null, _cp4 : Fl_Menu_|null=null )=>Fl_Menu_Item" },
  { dao_Fl_Menu_Item_pulldown, "pulldown( self : Fl_Menu_Item, X : int, Y : int, W : int, H : int, picked : Fl_Menu_Item|null=null, _cp5 : Fl_Menu_|null=null, title : Fl_Menu_Item|null=null, menubar : int=0 )=>Fl_Menu_Item" },
  { dao_Fl_Menu_Item_radio, "radio( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_set, "set( self : Fl_Menu_Item )" },
  { dao_Fl_Menu_Item_setonly, "setonly( self : Fl_Menu_Item )" },
  { dao_Fl_Menu_Item_shortcut, "shortcut( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_shortcut_dao_2, "shortcut( self : Fl_Menu_Item, s : int )" },
  { dao_Fl_Menu_Item_show, "show( self : Fl_Menu_Item )" },
  { dao_Fl_Menu_Item_size, "size( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_submenu, "submenu( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_test_shortcut, "test_shortcut( self : Fl_Menu_Item )=>Fl_Menu_Item" },
  { dao_Fl_Menu_Item_uncheck, "uncheck( self : Fl_Menu_Item )" },
  { dao_Fl_Menu_Item_user_data, "user_data( self : Fl_Menu_Item )=>cdata" },
  { dao_Fl_Menu_Item_user_data_dao_2, "user_data( self : Fl_Menu_Item, v : cdata )" },
  { dao_Fl_Menu_Item_value, "value( self : Fl_Menu_Item )=>int" },
  { dao_Fl_Menu_Item_visible, "visible( self : Fl_Menu_Item )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Menu_Item_Delete( void *self )
{
	delete (Fl_Menu_Item*) self;
}

static DaoTypeBase Fl_Menu_Item_Typer = 
{ "Fl_Menu_Item", NULL, 
  dao_Fl_Menu_Item_Nums,
  dao_Fl_Menu_Item_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Menu_Item_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Menu_Item_Typer = & Fl_Menu_Item_Typer;
static void dao_Fl_Menu_Item_GETF_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->text );
}
static void dao_Fl_Menu_Item_GETF_shortcut_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  DaoContext_PutInteger( _ctx, (int) self->shortcut_ );
}
static void dao_Fl_Menu_Item_SETF_shortcut_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  self->shortcut_ = (int) _p[1]->v.i;
}
static void dao_Fl_Menu_Item_GETF_user_data_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  DaoContext_PutCPointer( _ctx, (void*) self->user_data_, 0 );
}
static void dao_Fl_Menu_Item_GETF_flags( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  DaoContext_PutInteger( _ctx, (int) self->flags );
}
static void dao_Fl_Menu_Item_SETF_flags( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  self->flags = (int) _p[1]->v.i;
}
static void dao_Fl_Menu_Item_GETF_labeltype_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  DaoContext_PutInteger( _ctx, (int) self->labeltype_ );
}
static void dao_Fl_Menu_Item_SETF_labeltype_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  self->labeltype_ = (uchar) _p[1]->v.i;
}
static void dao_Fl_Menu_Item_GETF_labelfont_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  DaoContext_PutInteger( _ctx, (int) self->labelfont_ );
}
static void dao_Fl_Menu_Item_SETF_labelfont_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  self->labelfont_ = (Fl_Font) _p[1]->v.i;
}
static void dao_Fl_Menu_Item_GETF_labelsize_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  DaoContext_PutInteger( _ctx, (int) self->labelsize_ );
}
static void dao_Fl_Menu_Item_SETF_labelsize_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  self->labelsize_ = (Fl_Fontsize) _p[1]->v.i;
}
static void dao_Fl_Menu_Item_GETF_labelcolor_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  DaoContext_PutInteger( _ctx, (int) self->labelcolor_ );
}
static void dao_Fl_Menu_Item_SETF_labelcolor_( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item *self = (Fl_Menu_Item*)DValue_CastCData(_p[0],dao_Fl_Menu_Item_Typer);
  self->labelcolor_ = (Fl_Color) _p[1]->v.i;
}
static void dao_Fl_Menu_Item_Fl_Menu_Item( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Menu_Item *self = Dao_Fl_Menu_Item_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_activate( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  self->Fl_Menu_Item::activate(  );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_active( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int _active = self->Fl_Menu_Item::active(  );
  DaoContext_PutInteger( _ctx, (int) _active );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_activevisible( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int _activevisible = self->Fl_Menu_Item::activevisible(  );
  DaoContext_PutInteger( _ctx, (int) _activevisible );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_add_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  char* s= (char*) DValue_GetMBString( _p[1] );
  char* sc= (char*) DValue_GetMBString( _p[2] );
  DaoMethod *_ro = (DaoMethod*) _p[3]->v.p;
  Fl_Callback *cb = Dao_Fl_Callback;
  DValue *_ud = _p[4];
  DaoCallbackData *userdata = DaoCallbackData_New( _ro, *_ud );
  if( userdata == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR_PARAM, "invalid callback" );
	return;
  }
  int i= (int) _p[5]->v.i;
  int _add = self->Fl_Menu_Item::add( s, sc, cb, userdata, i );
  DaoContext_PutInteger( _ctx, (int) _add );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_add( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  char* s= (char*) DValue_GetMBString( _p[1] );
  int sc= (int) _p[2]->v.i;
  DaoMethod *_ro = (DaoMethod*) _p[3]->v.p;
  Fl_Callback *cb = Dao_Fl_Callback;
  DValue *_ud = _p[4];
  DaoCallbackData *userdata = DaoCallbackData_New( _ro, *_ud );
  if( userdata == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR_PARAM, "invalid callback" );
	return;
  }
  int i= (int) _p[5]->v.i;
  int _add = self->Fl_Menu_Item::add( s, sc, cb, userdata, i );
  DaoContext_PutInteger( _ctx, (int) _add );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_argument( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  long _argument = self->Fl_Menu_Item::argument(  );
  DaoContext_PutInteger( _ctx, (int) _argument );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_argument_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  long v= (long) _p[1]->v.i;
  self->Fl_Menu_Item::argument( v );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_check( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  self->Fl_Menu_Item::check(  );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_checkbox( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int _checkbox = self->Fl_Menu_Item::checkbox(  );
  DaoContext_PutInteger( _ctx, (int) _checkbox );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_checked( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int _checked = self->Fl_Menu_Item::checked(  );
  DaoContext_PutInteger( _ctx, (int) _checked );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  self->Fl_Menu_Item::clear(  );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_deactivate( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  self->Fl_Menu_Item::deactivate(  );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_do_callback( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Menu_Item::do_callback( o );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_do_callback_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  long arg= (long) _p[2]->v.i;
  self->Fl_Menu_Item::do_callback( o, arg );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_do_callback_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Widget* o= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  void* arg= (void*) DValue_GetCData( _p[2] );
  self->Fl_Menu_Item::do_callback( o, arg );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  Fl_Menu_* _cp4= (Fl_Menu_*) DValue_CastCData( _p[5], dao_Fl_Menu__Typer );
  int t= (int) _p[6]->v.i;
  self->Fl_Menu_Item::draw( x, y, w, h, _cp4, t );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_find_shortcut( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int ip= (int) _p[1]->v.i;
  const Fl_Menu_Item* _find_shortcut = self->Fl_Menu_Item::find_shortcut( & ip );
  _p[1]->v.i = (int) ip;
  DaoContext_WrapCData( _ctx, (void*) _find_shortcut, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_first_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Menu_Item* _first = self->Fl_Menu_Item::first(  );
  DaoContext_WrapCData( _ctx, (void*) _first, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_first( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  const Fl_Menu_Item* _first = self->Fl_Menu_Item::first(  );
  DaoContext_WrapCData( _ctx, (void*) _first, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_hide( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  self->Fl_Menu_Item::hide(  );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_image_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Image* a= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Menu_Item::image( *a );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Image* a= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Menu_Item::image( a );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  const char* _label = self->Fl_Menu_Item::label(  );
  DaoContext_PutMBString( _ctx, (char*) _label );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_label_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Labeltype a= (Fl_Labeltype) _p[1]->v.i;
  char* b= (char*) DValue_GetMBString( _p[2] );
  self->Fl_Menu_Item::label( a, b );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  char* a= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Menu_Item::label( a );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_labelcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Color _labelcolor = self->Fl_Menu_Item::labelcolor(  );
  DaoContext_PutInteger( _ctx, (int) _labelcolor );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_labelcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Color a= (Fl_Color) _p[1]->v.i;
  self->Fl_Menu_Item::labelcolor( a );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_labelfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Font _labelfont = self->Fl_Menu_Item::labelfont(  );
  DaoContext_PutInteger( _ctx, (int) _labelfont );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_labelfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Font a= (Fl_Font) _p[1]->v.i;
  self->Fl_Menu_Item::labelfont( a );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_labelsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Fontsize _labelsize = self->Fl_Menu_Item::labelsize(  );
  DaoContext_PutInteger( _ctx, (int) _labelsize );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_labelsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Fontsize a= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Menu_Item::labelsize( a );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_labeltype( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Labeltype _labeltype = self->Fl_Menu_Item::labeltype(  );
  DaoContext_PutInteger( _ctx, (int) _labeltype );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_labeltype_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  Fl_Labeltype a= (Fl_Labeltype) _p[1]->v.i;
  self->Fl_Menu_Item::labeltype( a );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_measure( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int h= (int) _p[1]->v.i;
  Fl_Menu_* _cp1= (Fl_Menu_*) DValue_CastCData( _p[2], dao_Fl_Menu__Typer );
  int _measure = self->Fl_Menu_Item::measure( & h, _cp1 );
  _p[1]->v.i = (int) h;
  DaoContext_PutInteger( _ctx, (int) _measure );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_next_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int i= (int) _p[1]->v.i;
  Fl_Menu_Item* _next = self->Fl_Menu_Item::next( i );
  DaoContext_WrapCData( _ctx, (void*) _next, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_next( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int _cp0= (int) _p[1]->v.i;
  const Fl_Menu_Item* _next = self->Fl_Menu_Item::next( _cp0 );
  DaoContext_WrapCData( _ctx, (void*) _next, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_popup( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  char* title= (char*) DValue_GetMBString( _p[3] );
  Fl_Menu_Item* picked= (Fl_Menu_Item*) DValue_CastCData( _p[4], dao_Fl_Menu_Item_Typer );
  Fl_Menu_* _cp4= (Fl_Menu_*) DValue_CastCData( _p[5], dao_Fl_Menu__Typer );
  const Fl_Menu_Item* _popup = self->Fl_Menu_Item::popup( X, Y, title, picked, _cp4 );
  DaoContext_WrapCData( _ctx, (void*) _popup, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_pulldown( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  Fl_Menu_Item* picked= (Fl_Menu_Item*) DValue_CastCData( _p[5], dao_Fl_Menu_Item_Typer );
  Fl_Menu_* _cp5= (Fl_Menu_*) DValue_CastCData( _p[6], dao_Fl_Menu__Typer );
  Fl_Menu_Item* title= (Fl_Menu_Item*) DValue_CastCData( _p[7], dao_Fl_Menu_Item_Typer );
  int menubar= (int) _p[8]->v.i;
  const Fl_Menu_Item* _pulldown = self->Fl_Menu_Item::pulldown( X, Y, W, H, picked, _cp5, title, menubar );
  DaoContext_WrapCData( _ctx, (void*) _pulldown, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_radio( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int _radio = self->Fl_Menu_Item::radio(  );
  DaoContext_PutInteger( _ctx, (int) _radio );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_set( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  self->Fl_Menu_Item::set(  );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_setonly( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  self->Fl_Menu_Item::setonly(  );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_shortcut( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int _shortcut = self->Fl_Menu_Item::shortcut(  );
  DaoContext_PutInteger( _ctx, (int) _shortcut );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_shortcut_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int s= (int) _p[1]->v.i;
  self->Fl_Menu_Item::shortcut( s );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_show( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  self->Fl_Menu_Item::show(  );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int _size = self->Fl_Menu_Item::size(  );
  DaoContext_PutInteger( _ctx, (int) _size );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_submenu( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int _submenu = self->Fl_Menu_Item::submenu(  );
  DaoContext_PutInteger( _ctx, (int) _submenu );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_test_shortcut( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  const Fl_Menu_Item* _test_shortcut = self->Fl_Menu_Item::test_shortcut(  );
  DaoContext_WrapCData( _ctx, (void*) _test_shortcut, dao_Fl_Menu_Item_Typer );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_uncheck( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  self->Fl_Menu_Item::uncheck(  );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_user_data( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  void* _user_data = self->Fl_Menu_Item::user_data(  );
  DaoContext_PutCPointer( _ctx, (void*) _user_data, 0 );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_user_data_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  void* v= (void*) DValue_GetCData( _p[1] );
  self->Fl_Menu_Item::user_data( v );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int _value = self->Fl_Menu_Item::value(  );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Menu_Item.H */
static void dao_Fl_Menu_Item_visible( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Item* self= (Fl_Menu_Item*) DValue_CastCData( _p[0], dao_Fl_Menu_Item_Typer );
  int _visible = self->Fl_Menu_Item::visible(  );
  DaoContext_PutInteger( _ctx, (int) _visible );
}

/*  Fl_Menu_Bar.H */


static DaoNumItem dao_Fl_Menu_Bar_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Menu_Bar_Fl_Menu_Bar( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Bar_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Bar_handle( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Menu_Bar_Meths[] = 
{
  { dao_Fl_Menu_Bar_Fl_Menu_Bar, "Fl_Menu_Bar( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Menu_Bar" },
  { dao_Fl_Menu_Bar_draw, "draw( self : Fl_Menu_Bar )" },
  { dao_Fl_Menu_Bar_handle, "handle( self : Fl_Menu_Bar, _cp0 : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Menu_Bar_Delete( void *self )
{
	delete (Fl_Menu_Bar*) self;
}
void* dao_cast_Fl_Menu_Bar_to_Fl_Menu_( void *data )
{
	return (Fl_Menu_*)(Fl_Menu_Bar*)data;
}

static DaoTypeBase Fl_Menu_Bar_Typer = 
{ "Fl_Menu_Bar", NULL, 
  dao_Fl_Menu_Bar_Nums,
  dao_Fl_Menu_Bar_Meths, 
  { dao_Fl_Menu__Typer, 0 },
  { dao_cast_Fl_Menu_Bar_to_Fl_Menu_,0 },
  Dao_Fl_Menu_Bar_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Menu_Bar_Typer = & Fl_Menu_Bar_Typer;
/* Fl_Menu_Bar.H */
static void dao_Fl_Menu_Bar_Fl_Menu_Bar( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Menu_Bar *_self = DaoCxx_Fl_Menu_Bar_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Menu_Bar.H */
static void dao_Fl_Menu_Bar_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Menu_Bar *self = (DaoCxx_Fl_Menu_Bar*) DValue_CastCData( _p[0], dao_Fl_Menu_Bar_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Menu_Bar.H */
static void dao_Fl_Menu_Bar_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Bar* self= (Fl_Menu_Bar*) DValue_CastCData( _p[0], dao_Fl_Menu_Bar_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Menu_Bar::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}

/*  Fl_Menu_Button.H */


static DaoNumItem dao_Fl_Menu_Button_Nums[] =
{
  { "POPUP1", DAO_INTEGER, Fl_Menu_Button::POPUP1 },
  { "POPUP2", DAO_INTEGER, Fl_Menu_Button::POPUP2 },
  { "POPUP12", DAO_INTEGER, Fl_Menu_Button::POPUP12 },
  { "POPUP3", DAO_INTEGER, Fl_Menu_Button::POPUP3 },
  { "POPUP13", DAO_INTEGER, Fl_Menu_Button::POPUP13 },
  { "POPUP23", DAO_INTEGER, Fl_Menu_Button::POPUP23 },
  { "POPUP123", DAO_INTEGER, Fl_Menu_Button::POPUP123 },
  { NULL, 0, 0 }
};
static void dao_Fl_Menu_Button_Fl_Menu_Button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Button_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Button_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Button_popup( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Menu_Button_Meths[] = 
{
  { dao_Fl_Menu_Button_Fl_Menu_Button, "Fl_Menu_Button( _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : string|null=null )=>Fl_Menu_Button" },
  { dao_Fl_Menu_Button_draw, "draw( self : Fl_Menu_Button )" },
  { dao_Fl_Menu_Button_handle, "handle( self : Fl_Menu_Button, _cp0 : int )=>int" },
  { dao_Fl_Menu_Button_popup, "popup( self : Fl_Menu_Button )=>Fl_Menu_Item" },
  { NULL, NULL }
};
static void Dao_Fl_Menu_Button_Delete( void *self )
{
	delete (Fl_Menu_Button*) self;
}
void* dao_cast_Fl_Menu_Button_to_Fl_Menu_( void *data )
{
	return (Fl_Menu_*)(Fl_Menu_Button*)data;
}

static DaoTypeBase Fl_Menu_Button_Typer = 
{ "Fl_Menu_Button", NULL, 
  dao_Fl_Menu_Button_Nums,
  dao_Fl_Menu_Button_Meths, 
  { dao_Fl_Menu__Typer, 0 },
  { dao_cast_Fl_Menu_Button_to_Fl_Menu_,0 },
  Dao_Fl_Menu_Button_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Menu_Button_Typer = & Fl_Menu_Button_Typer;
/* Fl_Menu_Button.H */
static void dao_Fl_Menu_Button_Fl_Menu_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int _cp1= (int) _p[1]->v.i;
  int _cp2= (int) _p[2]->v.i;
  int _cp3= (int) _p[3]->v.i;
  char* _cp4= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Menu_Button *_self = DaoCxx_Fl_Menu_Button_New( _cp0, _cp1, _cp2, _cp3, _cp4 );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Menu_Button.H */
static void dao_Fl_Menu_Button_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Menu_Button *self = (DaoCxx_Fl_Menu_Button*) DValue_CastCData( _p[0], dao_Fl_Menu_Button_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Menu_Button.H */
static void dao_Fl_Menu_Button_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Button* self= (Fl_Menu_Button*) DValue_CastCData( _p[0], dao_Fl_Menu_Button_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Menu_Button::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Menu_Button.H */
static void dao_Fl_Menu_Button_popup( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Button* self= (Fl_Menu_Button*) DValue_CastCData( _p[0], dao_Fl_Menu_Button_Typer );
  const Fl_Menu_Item* _popup = self->Fl_Menu_Button::popup(  );
  DaoContext_WrapCData( _ctx, (void*) _popup, dao_Fl_Menu_Item_Typer );
}

/*  Fl_Single_Window.H */


static DaoNumItem dao_Fl_Single_Window_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Single_Window_Fl_Single_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Single_Window_Fl_Single_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Single_Window_flush( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Single_Window_show( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Single_Window_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Single_Window_Meths[] = 
{
  { dao_Fl_Single_Window_Fl_Single_Window, "Fl_Single_Window( W : int, H : int, l : string|null=null )=>Fl_Single_Window" },
  { dao_Fl_Single_Window_Fl_Single_Window_dao_2, "Fl_Single_Window( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Single_Window" },
  { dao_Fl_Single_Window_flush, "flush( self : Fl_Single_Window )" },
  { dao_Fl_Single_Window_show, "show( self : Fl_Single_Window )" },
  { dao_Fl_Single_Window_show_dao_2, "show( self : Fl_Single_Window, a : int, b : string )" },
  { NULL, NULL }
};
static void Dao_Fl_Single_Window_Delete( void *self )
{
	delete (Fl_Single_Window*) self;
}
void* dao_cast_Fl_Single_Window_to_Fl_Window( void *data )
{
	return (Fl_Window*)(Fl_Single_Window*)data;
}

static DaoTypeBase Fl_Single_Window_Typer = 
{ "Fl_Single_Window", NULL, 
  dao_Fl_Single_Window_Nums,
  dao_Fl_Single_Window_Meths, 
  { dao_Fl_Window_Typer, 0 },
  { dao_cast_Fl_Single_Window_to_Fl_Window,0 },
  Dao_Fl_Single_Window_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Single_Window_Typer = & Fl_Single_Window_Typer;
/* Fl_Single_Window.H */
static void dao_Fl_Single_Window_Fl_Single_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  int W= (int) _p[0]->v.i;
  int H= (int) _p[1]->v.i;
  char* l= (char*) DValue_GetMBString( _p[2] );
	DaoCxx_Fl_Single_Window *_self = DaoCxx_Fl_Single_Window_New( W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Single_Window.H */
static void dao_Fl_Single_Window_Fl_Single_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Single_Window *_self = DaoCxx_Fl_Single_Window_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Single_Window.H */
static void dao_Fl_Single_Window_flush( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Single_Window* self= (Fl_Single_Window*) DValue_CastCData( _p[0], dao_Fl_Single_Window_Typer );
  self->Fl_Single_Window::flush(  );
}
/* Fl_Single_Window.H */
static void dao_Fl_Single_Window_show( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Single_Window* self= (Fl_Single_Window*) DValue_CastCData( _p[0], dao_Fl_Single_Window_Typer );
  self->Fl_Single_Window::show(  );
}
/* Fl_Single_Window.H */
static void dao_Fl_Single_Window_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Single_Window* self= (Fl_Single_Window*) DValue_CastCData( _p[0], dao_Fl_Single_Window_Typer );
  int a= (int) _p[1]->v.i;
  char* b_old = (char*)DValue_GetMBString( _p[2] );
  size_t b_len = strlen( b_old );
  char* b = (char*) malloc( b_len + 1 );
  void* b_p = strncpy( b, b_old, b_len );
  self->Fl_Single_Window::show( a, & b );
  DString_SetMBS( _p[2]->v.s, (char*) b );
  free( b );
}

/*  Fl_Menu_Window.H */


static DaoNumItem dao_Fl_Menu_Window_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Menu_Window_Fl_Menu_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Window_Fl_Menu_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Window_clear_overlay( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Window_erase( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Window_flush( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Window_hide( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Window_overlay( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Window_set_overlay( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Menu_Window_show( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Menu_Window_Meths[] = 
{
  { dao_Fl_Menu_Window_Fl_Menu_Window, "Fl_Menu_Window( W : int, H : int, l : string|null=null )=>Fl_Menu_Window" },
  { dao_Fl_Menu_Window_Fl_Menu_Window_dao_2, "Fl_Menu_Window( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Menu_Window" },
  { dao_Fl_Menu_Window_clear_overlay, "clear_overlay( self : Fl_Menu_Window )" },
  { dao_Fl_Menu_Window_erase, "erase( self : Fl_Menu_Window )" },
  { dao_Fl_Menu_Window_flush, "flush( self : Fl_Menu_Window )" },
  { dao_Fl_Menu_Window_hide, "hide( self : Fl_Menu_Window )" },
  { dao_Fl_Menu_Window_overlay, "overlay( self : Fl_Menu_Window )=>int" },
  { dao_Fl_Menu_Window_set_overlay, "set_overlay( self : Fl_Menu_Window )" },
  { dao_Fl_Menu_Window_show, "show( self : Fl_Menu_Window )" },
  { NULL, NULL }
};
static void Dao_Fl_Menu_Window_Delete( void *self )
{
	delete (Fl_Menu_Window*) self;
}
void* dao_cast_Fl_Menu_Window_to_Fl_Single_Window( void *data )
{
	return (Fl_Single_Window*)(Fl_Menu_Window*)data;
}

static DaoTypeBase Fl_Menu_Window_Typer = 
{ "Fl_Menu_Window", NULL, 
  dao_Fl_Menu_Window_Nums,
  dao_Fl_Menu_Window_Meths, 
  { dao_Fl_Single_Window_Typer, 0 },
  { dao_cast_Fl_Menu_Window_to_Fl_Single_Window,0 },
  Dao_Fl_Menu_Window_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Menu_Window_Typer = & Fl_Menu_Window_Typer;
/* Fl_Menu_Window.H */
static void dao_Fl_Menu_Window_Fl_Menu_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  int W= (int) _p[0]->v.i;
  int H= (int) _p[1]->v.i;
  char* l= (char*) DValue_GetMBString( _p[2] );
	DaoCxx_Fl_Menu_Window *_self = DaoCxx_Fl_Menu_Window_New( W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Menu_Window.H */
static void dao_Fl_Menu_Window_Fl_Menu_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Menu_Window *_self = DaoCxx_Fl_Menu_Window_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Menu_Window.H */
static void dao_Fl_Menu_Window_clear_overlay( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Window* self= (Fl_Menu_Window*) DValue_CastCData( _p[0], dao_Fl_Menu_Window_Typer );
  self->Fl_Menu_Window::clear_overlay(  );
}
/* Fl_Menu_Window.H */
static void dao_Fl_Menu_Window_erase( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Window* self= (Fl_Menu_Window*) DValue_CastCData( _p[0], dao_Fl_Menu_Window_Typer );
  self->Fl_Menu_Window::erase(  );
}
/* Fl_Menu_Window.H */
static void dao_Fl_Menu_Window_flush( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Window* self= (Fl_Menu_Window*) DValue_CastCData( _p[0], dao_Fl_Menu_Window_Typer );
  self->Fl_Menu_Window::flush(  );
}
/* Fl_Menu_Window.H */
static void dao_Fl_Menu_Window_hide( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Window* self= (Fl_Menu_Window*) DValue_CastCData( _p[0], dao_Fl_Menu_Window_Typer );
  self->Fl_Menu_Window::hide(  );
}
/* Fl_Menu_Window.H */
static void dao_Fl_Menu_Window_overlay( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Window* self= (Fl_Menu_Window*) DValue_CastCData( _p[0], dao_Fl_Menu_Window_Typer );
  unsigned int _overlay = self->Fl_Menu_Window::overlay(  );
  DaoContext_PutInteger( _ctx, (int) _overlay );
}
/* Fl_Menu_Window.H */
static void dao_Fl_Menu_Window_set_overlay( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Window* self= (Fl_Menu_Window*) DValue_CastCData( _p[0], dao_Fl_Menu_Window_Typer );
  self->Fl_Menu_Window::set_overlay(  );
}
/* Fl_Menu_Window.H */
static void dao_Fl_Menu_Window_show( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Menu_Window* self= (Fl_Menu_Window*) DValue_CastCData( _p[0], dao_Fl_Menu_Window_Typer );
  self->Fl_Menu_Window::show(  );
}

/*  Fl_Multi_Browser.H */


static DaoNumItem dao_Fl_Multi_Browser_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Multi_Browser_Fl_Multi_Browser( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Multi_Browser_Meths[] = 
{
  { dao_Fl_Multi_Browser_Fl_Multi_Browser, "Fl_Multi_Browser( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Multi_Browser" },
  { NULL, NULL }
};
static void Dao_Fl_Multi_Browser_Delete( void *self )
{
	delete (Fl_Multi_Browser*) self;
}
void* dao_cast_Fl_Multi_Browser_to_Fl_Browser( void *data )
{
	return (Fl_Browser*)(Fl_Multi_Browser*)data;
}

static DaoTypeBase Fl_Multi_Browser_Typer = 
{ "Fl_Multi_Browser", NULL, 
  dao_Fl_Multi_Browser_Nums,
  dao_Fl_Multi_Browser_Meths, 
  { dao_Fl_Browser_Typer, 0 },
  { dao_cast_Fl_Multi_Browser_to_Fl_Browser,0 },
  Dao_Fl_Multi_Browser_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Multi_Browser_Typer = & Fl_Multi_Browser_Typer;
/* Fl_Multi_Browser.H */
static void dao_Fl_Multi_Browser_Fl_Multi_Browser( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Multi_Browser *_self = DaoCxx_Fl_Multi_Browser_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Multi_Label.H */


static void dao_Fl_Multi_Label_GETF_labela( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Multi_Label_GETF_labelb( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Multi_Label_GETF_typea( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Multi_Label_SETF_typea( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Multi_Label_GETF_typeb( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Multi_Label_SETF_typeb( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Multi_Label_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Multi_Label_Fl_Multi_Label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Multi_Label_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Multi_Label_label( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Multi_Label_Meths[] = 
{
  { dao_Fl_Multi_Label_GETF_labela, ".labela( self : Fl_Multi_Label )=>string" },
  { dao_Fl_Multi_Label_GETF_labelb, ".labelb( self : Fl_Multi_Label )=>string" },
  { dao_Fl_Multi_Label_GETF_typea, ".typea( self : Fl_Multi_Label )=>int" },
  { dao_Fl_Multi_Label_SETF_typea, ".typea=( self : Fl_Multi_Label, typea : int )" },
  { dao_Fl_Multi_Label_GETF_typeb, ".typeb( self : Fl_Multi_Label )=>int" },
  { dao_Fl_Multi_Label_SETF_typeb, ".typeb=( self : Fl_Multi_Label, typeb : int )" },
  { dao_Fl_Multi_Label_Fl_Multi_Label, "Fl_Multi_Label(  )=>Fl_Multi_Label" },
  { dao_Fl_Multi_Label_label_dao_2, "label( self : Fl_Multi_Label, _cp0 : Fl_Menu_Item )" },
  { dao_Fl_Multi_Label_label, "label( self : Fl_Multi_Label, _cp0 : Fl_Widget )" },
  { NULL, NULL }
};
static void Dao_Fl_Multi_Label_Delete( void *self )
{
	delete (Fl_Multi_Label*) self;
}

static DaoTypeBase Fl_Multi_Label_Typer = 
{ "Fl_Multi_Label", NULL, 
  dao_Fl_Multi_Label_Nums,
  dao_Fl_Multi_Label_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Multi_Label_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Multi_Label_Typer = & Fl_Multi_Label_Typer;
static void dao_Fl_Multi_Label_GETF_labela( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Multi_Label *self = (Fl_Multi_Label*)DValue_CastCData(_p[0],dao_Fl_Multi_Label_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->labela );
}
static void dao_Fl_Multi_Label_GETF_labelb( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Multi_Label *self = (Fl_Multi_Label*)DValue_CastCData(_p[0],dao_Fl_Multi_Label_Typer);
  DaoContext_PutMBString( _ctx, (char*) self->labelb );
}
static void dao_Fl_Multi_Label_GETF_typea( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Multi_Label *self = (Fl_Multi_Label*)DValue_CastCData(_p[0],dao_Fl_Multi_Label_Typer);
  DaoContext_PutInteger( _ctx, (int) self->typea );
}
static void dao_Fl_Multi_Label_SETF_typea( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Multi_Label *self = (Fl_Multi_Label*)DValue_CastCData(_p[0],dao_Fl_Multi_Label_Typer);
  self->typea = (uchar) _p[1]->v.i;
}
static void dao_Fl_Multi_Label_GETF_typeb( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Multi_Label *self = (Fl_Multi_Label*)DValue_CastCData(_p[0],dao_Fl_Multi_Label_Typer);
  DaoContext_PutInteger( _ctx, (int) self->typeb );
}
static void dao_Fl_Multi_Label_SETF_typeb( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Multi_Label *self = (Fl_Multi_Label*)DValue_CastCData(_p[0],dao_Fl_Multi_Label_Typer);
  self->typeb = (uchar) _p[1]->v.i;
}
static void dao_Fl_Multi_Label_Fl_Multi_Label( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Multi_Label *self = Dao_Fl_Multi_Label_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Multi_Label_Typer );
}
/* Fl_Multi_Label.H */
static void dao_Fl_Multi_Label_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Multi_Label* self= (Fl_Multi_Label*) DValue_CastCData( _p[0], dao_Fl_Multi_Label_Typer );
  Fl_Menu_Item* _cp0= (Fl_Menu_Item*) DValue_CastCData( _p[1], dao_Fl_Menu_Item_Typer );
  self->Fl_Multi_Label::label( _cp0 );
}
/* Fl_Multi_Label.H */
static void dao_Fl_Multi_Label_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Multi_Label* self= (Fl_Multi_Label*) DValue_CastCData( _p[0], dao_Fl_Multi_Label_Typer );
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Multi_Label::label( _cp0 );
}

/*  Fl_Multiline_Input.H */


static DaoNumItem dao_Fl_Multiline_Input_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Multiline_Input_Fl_Multiline_Input( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Multiline_Input_Meths[] = 
{
  { dao_Fl_Multiline_Input_Fl_Multiline_Input, "Fl_Multiline_Input( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Multiline_Input" },
  { NULL, NULL }
};
static void Dao_Fl_Multiline_Input_Delete( void *self )
{
	delete (Fl_Multiline_Input*) self;
}
void* dao_cast_Fl_Multiline_Input_to_Fl_Input( void *data )
{
	return (Fl_Input*)(Fl_Multiline_Input*)data;
}

static DaoTypeBase Fl_Multiline_Input_Typer = 
{ "Fl_Multiline_Input", NULL, 
  dao_Fl_Multiline_Input_Nums,
  dao_Fl_Multiline_Input_Meths, 
  { dao_Fl_Input_Typer, 0 },
  { dao_cast_Fl_Multiline_Input_to_Fl_Input,0 },
  Dao_Fl_Multiline_Input_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Multiline_Input_Typer = & Fl_Multiline_Input_Typer;
/* Fl_Multiline_Input.H */
static void dao_Fl_Multiline_Input_Fl_Multiline_Input( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Multiline_Input *_self = DaoCxx_Fl_Multiline_Input_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Output.H */


static DaoNumItem dao_Fl_Output_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Output_Fl_Output( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Output_Meths[] = 
{
  { dao_Fl_Output_Fl_Output, "Fl_Output( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Output" },
  { NULL, NULL }
};
static void Dao_Fl_Output_Delete( void *self )
{
	delete (Fl_Output*) self;
}
void* dao_cast_Fl_Output_to_Fl_Input( void *data )
{
	return (Fl_Input*)(Fl_Output*)data;
}

static DaoTypeBase Fl_Output_Typer = 
{ "Fl_Output", NULL, 
  dao_Fl_Output_Nums,
  dao_Fl_Output_Meths, 
  { dao_Fl_Input_Typer, 0 },
  { dao_cast_Fl_Output_to_Fl_Input,0 },
  Dao_Fl_Output_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Output_Typer = & Fl_Output_Typer;
/* Fl_Output.H */
static void dao_Fl_Output_Fl_Output( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Output *_self = DaoCxx_Fl_Output_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Multiline_Output.H */


static DaoNumItem dao_Fl_Multiline_Output_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Multiline_Output_Fl_Multiline_Output( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Multiline_Output_Meths[] = 
{
  { dao_Fl_Multiline_Output_Fl_Multiline_Output, "Fl_Multiline_Output( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Multiline_Output" },
  { NULL, NULL }
};
static void Dao_Fl_Multiline_Output_Delete( void *self )
{
	delete (Fl_Multiline_Output*) self;
}
void* dao_cast_Fl_Multiline_Output_to_Fl_Output( void *data )
{
	return (Fl_Output*)(Fl_Multiline_Output*)data;
}

static DaoTypeBase Fl_Multiline_Output_Typer = 
{ "Fl_Multiline_Output", NULL, 
  dao_Fl_Multiline_Output_Nums,
  dao_Fl_Multiline_Output_Meths, 
  { dao_Fl_Output_Typer, 0 },
  { dao_cast_Fl_Multiline_Output_to_Fl_Output,0 },
  Dao_Fl_Multiline_Output_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Multiline_Output_Typer = & Fl_Multiline_Output_Typer;
/* Fl_Multiline_Output.H */
static void dao_Fl_Multiline_Output_Fl_Multiline_Output( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Multiline_Output *_self = DaoCxx_Fl_Multiline_Output_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Nice_Slider.H */


static DaoNumItem dao_Fl_Nice_Slider_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Nice_Slider_Fl_Nice_Slider( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Nice_Slider_Meths[] = 
{
  { dao_Fl_Nice_Slider_Fl_Nice_Slider, "Fl_Nice_Slider( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Nice_Slider" },
  { NULL, NULL }
};
static void Dao_Fl_Nice_Slider_Delete( void *self )
{
	delete (Fl_Nice_Slider*) self;
}
void* dao_cast_Fl_Nice_Slider_to_Fl_Slider( void *data )
{
	return (Fl_Slider*)(Fl_Nice_Slider*)data;
}

static DaoTypeBase Fl_Nice_Slider_Typer = 
{ "Fl_Nice_Slider", NULL, 
  dao_Fl_Nice_Slider_Nums,
  dao_Fl_Nice_Slider_Meths, 
  { dao_Fl_Slider_Typer, 0 },
  { dao_cast_Fl_Nice_Slider_to_Fl_Slider,0 },
  Dao_Fl_Nice_Slider_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Nice_Slider_Typer = & Fl_Nice_Slider_Typer;
/* Fl_Nice_Slider.H */
static void dao_Fl_Nice_Slider_Fl_Nice_Slider( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Nice_Slider *_self = DaoCxx_Fl_Nice_Slider_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Overlay_Window.H */


static DaoNumItem dao_Fl_Overlay_Window_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Overlay_Window_Fl_Overlay_Window( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Overlay_Window_Fl_Overlay_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Overlay_Window_can_do_overlay( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Overlay_Window_flush( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Overlay_Window_hide( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Overlay_Window_redraw_overlay( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Overlay_Window_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Overlay_Window_show( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Overlay_Window_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Overlay_Window_Meths[] = 
{
  { dao_Fl_Overlay_Window_Fl_Overlay_Window, "Fl_Overlay_Window( W : int, H : int, l : string|null=null )=>Fl_Overlay_Window" },
  { dao_Fl_Overlay_Window_Fl_Overlay_Window_dao_2, "Fl_Overlay_Window( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Overlay_Window" },
  { dao_Fl_Overlay_Window_can_do_overlay, "can_do_overlay( self : Fl_Overlay_Window )=>int" },
  { dao_Fl_Overlay_Window_flush, "flush( self : Fl_Overlay_Window )" },
  { dao_Fl_Overlay_Window_hide, "hide( self : Fl_Overlay_Window )" },
  { dao_Fl_Overlay_Window_redraw_overlay, "redraw_overlay( self : Fl_Overlay_Window )" },
  { dao_Fl_Overlay_Window_resize, "resize( self : Fl_Overlay_Window, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Overlay_Window_show, "show( self : Fl_Overlay_Window )" },
  { dao_Fl_Overlay_Window_show_dao_2, "show( self : Fl_Overlay_Window, a : int, b : string )" },
  { NULL, NULL }
};
static void Dao_Fl_Overlay_Window_Delete( void *self )
{
	delete (Fl_Overlay_Window*) self;
}
void* dao_cast_Fl_Overlay_Window_to_Fl_Double_Window( void *data )
{
	return (Fl_Double_Window*)(Fl_Overlay_Window*)data;
}

static DaoTypeBase Fl_Overlay_Window_Typer = 
{ "Fl_Overlay_Window", NULL, 
  dao_Fl_Overlay_Window_Nums,
  dao_Fl_Overlay_Window_Meths, 
  { dao_Fl_Double_Window_Typer, 0 },
  { dao_cast_Fl_Overlay_Window_to_Fl_Double_Window,0 },
  Dao_Fl_Overlay_Window_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Overlay_Window_Typer = & Fl_Overlay_Window_Typer;
/* Fl_Overlay_Window.H */
static void dao_Fl_Overlay_Window_Fl_Overlay_Window( DaoContext *_ctx, DValue *_p[], int _n )
{
  int W= (int) _p[0]->v.i;
  int H= (int) _p[1]->v.i;
  char* l= (char*) DValue_GetMBString( _p[2] );
}
/* Fl_Overlay_Window.H */
static void dao_Fl_Overlay_Window_Fl_Overlay_Window_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
}
/* Fl_Overlay_Window.H */
static void dao_Fl_Overlay_Window_can_do_overlay( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Overlay_Window* self= (Fl_Overlay_Window*) DValue_CastCData( _p[0], dao_Fl_Overlay_Window_Typer );
  int _can_do_overlay = self->Fl_Overlay_Window::can_do_overlay(  );
  DaoContext_PutInteger( _ctx, (int) _can_do_overlay );
}
/* Fl_Overlay_Window.H */
static void dao_Fl_Overlay_Window_flush( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Overlay_Window* self= (Fl_Overlay_Window*) DValue_CastCData( _p[0], dao_Fl_Overlay_Window_Typer );
  self->Fl_Overlay_Window::flush(  );
}
/* Fl_Overlay_Window.H */
static void dao_Fl_Overlay_Window_hide( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Overlay_Window* self= (Fl_Overlay_Window*) DValue_CastCData( _p[0], dao_Fl_Overlay_Window_Typer );
  self->Fl_Overlay_Window::hide(  );
}
/* Fl_Overlay_Window.H */
static void dao_Fl_Overlay_Window_redraw_overlay( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Overlay_Window* self= (Fl_Overlay_Window*) DValue_CastCData( _p[0], dao_Fl_Overlay_Window_Typer );
  self->Fl_Overlay_Window::redraw_overlay(  );
}
/* Fl_Overlay_Window.H */
static void dao_Fl_Overlay_Window_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Overlay_Window* self= (Fl_Overlay_Window*) DValue_CastCData( _p[0], dao_Fl_Overlay_Window_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->Fl_Overlay_Window::resize( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Overlay_Window.H */
static void dao_Fl_Overlay_Window_show( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Overlay_Window* self= (Fl_Overlay_Window*) DValue_CastCData( _p[0], dao_Fl_Overlay_Window_Typer );
  self->Fl_Overlay_Window::show(  );
}
/* Fl_Overlay_Window.H */
static void dao_Fl_Overlay_Window_show_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Overlay_Window* self= (Fl_Overlay_Window*) DValue_CastCData( _p[0], dao_Fl_Overlay_Window_Typer );
  int a= (int) _p[1]->v.i;
  char* b_old = (char*)DValue_GetMBString( _p[2] );
  size_t b_len = strlen( b_old );
  char* b = (char*) malloc( b_len + 1 );
  void* b_p = strncpy( b, b_old, b_len );
  self->Fl_Overlay_Window::show( a, & b );
  DString_SetMBS( _p[2]->v.s, (char*) b );
  free( b );
}

/*  Fl_PNG_Image.H */


static DaoNumItem dao_Fl_PNG_Image_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_PNG_Image_Fl_PNG_Image( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_PNG_Image_Meths[] = 
{
  { dao_Fl_PNG_Image_Fl_PNG_Image, "Fl_PNG_Image( filename : string )=>Fl_PNG_Image" },
  { NULL, NULL }
};
static void Dao_Fl_PNG_Image_Delete( void *self )
{
	delete (Fl_PNG_Image*) self;
}
void* dao_cast_Fl_PNG_Image_to_Fl_RGB_Image( void *data )
{
	return (Fl_RGB_Image*)(Fl_PNG_Image*)data;
}

static DaoTypeBase Fl_PNG_Image_Typer = 
{ "Fl_PNG_Image", NULL, 
  dao_Fl_PNG_Image_Nums,
  dao_Fl_PNG_Image_Meths, 
  { dao_Fl_RGB_Image_Typer, 0 },
  { dao_cast_Fl_PNG_Image_to_Fl_RGB_Image,0 },
  Dao_Fl_PNG_Image_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_PNG_Image_Typer = & Fl_PNG_Image_Typer;
/* Fl_PNG_Image.H */
static void dao_Fl_PNG_Image_Fl_PNG_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* filename= (char*) DValue_GetMBString( _p[0] );
	DaoCxx_Fl_PNG_Image *_self = DaoCxx_Fl_PNG_Image_New( filename );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_PNM_Image.H */


static DaoNumItem dao_Fl_PNM_Image_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_PNM_Image_Fl_PNM_Image( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_PNM_Image_Meths[] = 
{
  { dao_Fl_PNM_Image_Fl_PNM_Image, "Fl_PNM_Image( filename : string )=>Fl_PNM_Image" },
  { NULL, NULL }
};
static void Dao_Fl_PNM_Image_Delete( void *self )
{
	delete (Fl_PNM_Image*) self;
}
void* dao_cast_Fl_PNM_Image_to_Fl_RGB_Image( void *data )
{
	return (Fl_RGB_Image*)(Fl_PNM_Image*)data;
}

static DaoTypeBase Fl_PNM_Image_Typer = 
{ "Fl_PNM_Image", NULL, 
  dao_Fl_PNM_Image_Nums,
  dao_Fl_PNM_Image_Meths, 
  { dao_Fl_RGB_Image_Typer, 0 },
  { dao_cast_Fl_PNM_Image_to_Fl_RGB_Image,0 },
  Dao_Fl_PNM_Image_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_PNM_Image_Typer = & Fl_PNM_Image_Typer;
/* Fl_PNM_Image.H */
static void dao_Fl_PNM_Image_Fl_PNM_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* filename= (char*) DValue_GetMBString( _p[0] );
	DaoCxx_Fl_PNM_Image *_self = DaoCxx_Fl_PNM_Image_New( filename );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Printer.H */


static DaoNumItem dao_Fl_PSfile_Device_Nums[] =
{
  { "A0", DAO_INTEGER, Fl_PSfile_Device::A0 },
  { "A1", DAO_INTEGER, Fl_PSfile_Device::A1 },
  { "A2", DAO_INTEGER, Fl_PSfile_Device::A2 },
  { "A3", DAO_INTEGER, Fl_PSfile_Device::A3 },
  { "A4", DAO_INTEGER, Fl_PSfile_Device::A4 },
  { "A5", DAO_INTEGER, Fl_PSfile_Device::A5 },
  { "A6", DAO_INTEGER, Fl_PSfile_Device::A6 },
  { "A7", DAO_INTEGER, Fl_PSfile_Device::A7 },
  { "A8", DAO_INTEGER, Fl_PSfile_Device::A8 },
  { "A9", DAO_INTEGER, Fl_PSfile_Device::A9 },
  { "B0", DAO_INTEGER, Fl_PSfile_Device::B0 },
  { "B1", DAO_INTEGER, Fl_PSfile_Device::B1 },
  { "B2", DAO_INTEGER, Fl_PSfile_Device::B2 },
  { "B3", DAO_INTEGER, Fl_PSfile_Device::B3 },
  { "B4", DAO_INTEGER, Fl_PSfile_Device::B4 },
  { "B5", DAO_INTEGER, Fl_PSfile_Device::B5 },
  { "B6", DAO_INTEGER, Fl_PSfile_Device::B6 },
  { "B7", DAO_INTEGER, Fl_PSfile_Device::B7 },
  { "B8", DAO_INTEGER, Fl_PSfile_Device::B8 },
  { "B9", DAO_INTEGER, Fl_PSfile_Device::B9 },
  { "B10", DAO_INTEGER, Fl_PSfile_Device::B10 },
  { "C5E", DAO_INTEGER, Fl_PSfile_Device::C5E },
  { "DLE", DAO_INTEGER, Fl_PSfile_Device::DLE },
  { "EXECUTIVE", DAO_INTEGER, Fl_PSfile_Device::EXECUTIVE },
  { "FOLIO", DAO_INTEGER, Fl_PSfile_Device::FOLIO },
  { "LEDGER", DAO_INTEGER, Fl_PSfile_Device::LEDGER },
  { "LEGAL", DAO_INTEGER, Fl_PSfile_Device::LEGAL },
  { "LETTER", DAO_INTEGER, Fl_PSfile_Device::LETTER },
  { "TABLOID", DAO_INTEGER, Fl_PSfile_Device::TABLOID },
  { "ENVELOPE", DAO_INTEGER, Fl_PSfile_Device::ENVELOPE },
  { "MEDIA", DAO_INTEGER, Fl_PSfile_Device::MEDIA },
  { "PORTRAIT", DAO_INTEGER, Fl_PSfile_Device::PORTRAIT },
  { "LANDSCAPE", DAO_INTEGER, Fl_PSfile_Device::LANDSCAPE },
  { "REVERSED", DAO_INTEGER, Fl_PSfile_Device::REVERSED },
  { "ORIENTATION", DAO_INTEGER, Fl_PSfile_Device::ORIENTATION },
  { NULL, 0, 0 }
};
static void dao_Fl_PSfile_Device_Fl_PSfile_Device( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_alpha_mask( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_arc( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_arc_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_begin_complex_polygon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_begin_line( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_begin_loop( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_begin_points( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_begin_polygon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_circle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_clip_box( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_color_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_curve( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_draw_dao_5( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_draw_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_draw_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_draw_image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_draw_image_mono( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_draw_scaled_image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_draw_scaled_image_mono( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_end_complex_polygon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_end_job( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_end_line( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_end_loop( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_end_page( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_end_points( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_end_polygon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_file( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_font_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_font( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_gap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_interpolate_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_interpolate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_line( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_line_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_line_style( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_loop( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_loop_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_margins( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_not_clipped( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_origin( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_page( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_page_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_page_policy_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_page_policy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_pie( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_point( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_polygon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_polygon_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_pop_clip( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_printable_rect( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_push_clip( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_push_no_clip( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_rect( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_rectf( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_rotate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_scale( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_start_job_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_start_job( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_start_page( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_start_postscript( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_transformed_vertex( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_translate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_untranslate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_vertex( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_xyline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_xyline_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_xyline_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_yxline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_yxline_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_PSfile_Device_yxline_dao_3( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_PSfile_Device_Meths[] = 
{
  { dao_Fl_PSfile_Device_Fl_PSfile_Device, "Fl_PSfile_Device(  )=>Fl_PSfile_Device" },
  { dao_Fl_PSfile_Device_alpha_mask, "alpha_mask( self : Fl_PSfile_Device, data : string, w : int, h : int, D : int, LD : int=0 )=>int" },
  { dao_Fl_PSfile_Device_arc, "arc( self : Fl_PSfile_Device, x : double, y : double, r : double, start : double, a : double )" },
  { dao_Fl_PSfile_Device_arc_dao_2, "arc( self : Fl_PSfile_Device, x : int, y : int, w : int, h : int, a1 : double, a2 : double )" },
  { dao_Fl_PSfile_Device_begin_complex_polygon, "begin_complex_polygon( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_begin_line, "begin_line( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_begin_loop, "begin_loop( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_begin_points, "begin_points( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_begin_polygon, "begin_polygon( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_circle, "circle( self : Fl_PSfile_Device, x : double, y : double, r : double )" },
  { dao_Fl_PSfile_Device_clip_box, "clip_box( self : Fl_PSfile_Device, x : int, y : int, w : int, h : int, X : int, Y : int, W : int, H : int )=>int" },
  { dao_Fl_PSfile_Device_color_dao_3, "color( self : Fl_PSfile_Device )=>int" },
  { dao_Fl_PSfile_Device_color, "color( self : Fl_PSfile_Device, c : int )" },
  { dao_Fl_PSfile_Device_color_dao_2, "color( self : Fl_PSfile_Device, r : int, g : int, b : int )" },
  { dao_Fl_PSfile_Device_curve, "curve( self : Fl_PSfile_Device, x : double, y : double, x1 : double, y1 : double, x2 : double, y2 : double, x3 : double, y3 : double )" },
  { dao_Fl_PSfile_Device_draw_dao_5, "draw( self : Fl_PSfile_Device, bitmap : Fl_Bitmap, XP : int, YP : int, WP : int, HP : int, cx : int, cy : int )" },
  { dao_Fl_PSfile_Device_draw_dao_3, "draw( self : Fl_PSfile_Device, pxm : Fl_Pixmap, XP : int, YP : int, WP : int, HP : int, cx : int, cy : int )" },
  { dao_Fl_PSfile_Device_draw_dao_4, "draw( self : Fl_PSfile_Device, rgb : Fl_RGB_Image, XP : int, YP : int, WP : int, HP : int, cx : int, cy : int )" },
  { dao_Fl_PSfile_Device_draw, "draw( self : Fl_PSfile_Device, s : string, n : int, x : int, y : int )" },
  { dao_Fl_PSfile_Device_draw_dao_2, "draw( self : Fl_PSfile_Device, angle : int, str : string, n : int, x : int, y : int )" },
  { dao_Fl_PSfile_Device_draw_image, "draw_image( self : Fl_PSfile_Device, d : string, x : int, y : int, w : int, h : int, delta : int=3, ldelta : int=0 )" },
  { dao_Fl_PSfile_Device_draw_image_mono, "draw_image_mono( self : Fl_PSfile_Device, d : string, x : int, y : int, w : int, h : int, delta : int=1, ld : int=0 )" },
  { dao_Fl_PSfile_Device_draw_scaled_image, "draw_scaled_image( self : Fl_PSfile_Device, data : string, x : double, y : double, w : double, h : double, iw : int, ih : int, D : int=3, LD : int=0 )" },
  { dao_Fl_PSfile_Device_draw_scaled_image_mono, "draw_scaled_image_mono( self : Fl_PSfile_Device, data : string, x : double, y : double, w : double, h : double, iw : int, ih : int, D : int=3, LD : int=0 )" },
  { dao_Fl_PSfile_Device_end_complex_polygon, "end_complex_polygon( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_end_job, "end_job( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_end_line, "end_line( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_end_loop, "end_loop( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_end_page, "end_page( self : Fl_PSfile_Device )=>int" },
  { dao_Fl_PSfile_Device_end_points, "end_points( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_end_polygon, "end_polygon( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_file, "file( self : Fl_PSfile_Device )=>stream" },
  { dao_Fl_PSfile_Device_font_dao_2, "font( self : Fl_PSfile_Device )=>int" },
  { dao_Fl_PSfile_Device_font, "font( self : Fl_PSfile_Device, face : int, size : int )" },
  { dao_Fl_PSfile_Device_gap, "gap( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_interpolate_dao_2, "interpolate( self : Fl_PSfile_Device )=>int" },
  { dao_Fl_PSfile_Device_interpolate, "interpolate( self : Fl_PSfile_Device, i : int )" },
  { dao_Fl_PSfile_Device_line, "line( self : Fl_PSfile_Device, x1 : int, y1 : int, x2 : int, y2 : int )" },
  { dao_Fl_PSfile_Device_line_dao_2, "line( self : Fl_PSfile_Device, x1 : int, y1 : int, x2 : int, y2 : int, x3 : int, y3 : int )" },
  { dao_Fl_PSfile_Device_line_style, "line_style( self : Fl_PSfile_Device, style : int, width : int=0, dashes : string|null=null )" },
  { dao_Fl_PSfile_Device_loop, "loop( self : Fl_PSfile_Device, x0 : int, y0 : int, x1 : int, y1 : int, x2 : int, y2 : int )" },
  { dao_Fl_PSfile_Device_loop_dao_2, "loop( self : Fl_PSfile_Device, x0 : int, y0 : int, x1 : int, y1 : int, x2 : int, y2 : int, x3 : int, y3 : int )" },
  { dao_Fl_PSfile_Device_margins, "margins( self : Fl_PSfile_Device, left : int, top : int, right : int, bottom : int )" },
  { dao_Fl_PSfile_Device_not_clipped, "not_clipped( self : Fl_PSfile_Device, x : int, y : int, w : int, h : int )=>int" },
  { dao_Fl_PSfile_Device_origin, "origin( self : Fl_PSfile_Device, x : int, y : int )" },
  { dao_Fl_PSfile_Device_page, "page( self : Fl_PSfile_Device, pw : double, ph : double, media : int = 0 )" },
  { dao_Fl_PSfile_Device_page_dao_2, "page( self : Fl_PSfile_Device, format : int )" },
  { dao_Fl_PSfile_Device_page_policy_dao_2, "page_policy( self : Fl_PSfile_Device )=>int" },
  { dao_Fl_PSfile_Device_page_policy, "page_policy( self : Fl_PSfile_Device, p : int )" },
  { dao_Fl_PSfile_Device_pie, "pie( self : Fl_PSfile_Device, x : int, y : int, w : int, h : int, a1 : double, a2 : double )" },
  { dao_Fl_PSfile_Device_point, "point( self : Fl_PSfile_Device, x : int, y : int )" },
  { dao_Fl_PSfile_Device_polygon, "polygon( self : Fl_PSfile_Device, x0 : int, y0 : int, x1 : int, y1 : int, x2 : int, y2 : int )" },
  { dao_Fl_PSfile_Device_polygon_dao_2, "polygon( self : Fl_PSfile_Device, x0 : int, y0 : int, x1 : int, y1 : int, x2 : int, y2 : int, x3 : int, y3 : int )" },
  { dao_Fl_PSfile_Device_pop_clip, "pop_clip( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_printable_rect, "printable_rect( self : Fl_PSfile_Device, w : int, h : int )=>int" },
  { dao_Fl_PSfile_Device_push_clip, "push_clip( self : Fl_PSfile_Device, x : int, y : int, w : int, h : int )" },
  { dao_Fl_PSfile_Device_push_no_clip, "push_no_clip( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_rect, "rect( self : Fl_PSfile_Device, x : int, y : int, w : int, h : int )" },
  { dao_Fl_PSfile_Device_rectf, "rectf( self : Fl_PSfile_Device, x : int, y : int, w : int, h : int )" },
  { dao_Fl_PSfile_Device_rotate, "rotate( self : Fl_PSfile_Device, angle : float )" },
  { dao_Fl_PSfile_Device_scale, "scale( self : Fl_PSfile_Device, scale_x : float, scale_y : float )" },
  { dao_Fl_PSfile_Device_size, "size( self : Fl_PSfile_Device )=>int" },
  { dao_Fl_PSfile_Device_start_job_dao_2, "start_job( self : Fl_PSfile_Device, fname : string, pagecount : int, format : int = A4, layout : int = PORTRAIT )=>int" },
  { dao_Fl_PSfile_Device_start_job, "start_job( self : Fl_PSfile_Device, pagecount : int, format : int = A4, layout : int = PORTRAIT )=>int" },
  { dao_Fl_PSfile_Device_start_page, "start_page( self : Fl_PSfile_Device )=>int" },
  { dao_Fl_PSfile_Device_start_postscript, "start_postscript( self : Fl_PSfile_Device, pagecount : int, format : int, layout : int )=>int" },
  { dao_Fl_PSfile_Device_transformed_vertex, "transformed_vertex( self : Fl_PSfile_Device, x : double, y : double )" },
  { dao_Fl_PSfile_Device_translate, "translate( self : Fl_PSfile_Device, x : int, y : int )" },
  { dao_Fl_PSfile_Device_untranslate, "untranslate( self : Fl_PSfile_Device )" },
  { dao_Fl_PSfile_Device_vertex, "vertex( self : Fl_PSfile_Device, x : double, y : double )" },
  { dao_Fl_PSfile_Device_xyline, "xyline( self : Fl_PSfile_Device, x : int, y : int, x1 : int )" },
  { dao_Fl_PSfile_Device_xyline_dao_2, "xyline( self : Fl_PSfile_Device, x : int, y : int, x1 : int, y2 : int )" },
  { dao_Fl_PSfile_Device_xyline_dao_3, "xyline( self : Fl_PSfile_Device, x : int, y : int, x1 : int, y2 : int, x3 : int )" },
  { dao_Fl_PSfile_Device_yxline, "yxline( self : Fl_PSfile_Device, x : int, y : int, y1 : int )" },
  { dao_Fl_PSfile_Device_yxline_dao_2, "yxline( self : Fl_PSfile_Device, x : int, y : int, y1 : int, x2 : int )" },
  { dao_Fl_PSfile_Device_yxline_dao_3, "yxline( self : Fl_PSfile_Device, x : int, y : int, y1 : int, x2 : int, y3 : int )" },
  { NULL, NULL }
};
static void Dao_Fl_PSfile_Device_Delete( void *self )
{
	delete (Fl_PSfile_Device*) self;
}
void* dao_cast_Fl_PSfile_Device_to_Fl_Abstract_Printer( void *data )
{
	return (Fl_Abstract_Printer*)(Fl_PSfile_Device*)data;
}

static DaoTypeBase Fl_PSfile_Device_Typer = 
{ "Fl_PSfile_Device", NULL, 
  dao_Fl_PSfile_Device_Nums,
  dao_Fl_PSfile_Device_Meths, 
  { dao_Fl_Abstract_Printer_Typer, 0 },
  { dao_cast_Fl_PSfile_Device_to_Fl_Abstract_Printer,0 },
  Dao_Fl_PSfile_Device_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_PSfile_Device_Typer = & Fl_PSfile_Device_Typer;
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_Fl_PSfile_Device( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_Fl_PSfile_Device *_self = DaoCxx_Fl_PSfile_Device_New(  );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_alpha_mask( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  uchar* data= (uchar*) DValue_GetMBString( _p[1] );
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  int D= (int) _p[4]->v.i;
  int LD= (int) _p[5]->v.i;
  int _alpha_mask = self->DaoWrap_alpha_mask( data, w, h, D, LD );
  DaoContext_PutInteger( _ctx, (int) _alpha_mask );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_arc( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  double x= (double) _p[1]->v.d;
  double y= (double) _p[2]->v.d;
  double r= (double) _p[3]->v.d;
  double start= (double) _p[4]->v.d;
  double a= (double) _p[5]->v.d;
  self->DaoWrap_arc( x, y, r, start, a );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_arc_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  double a1= (double) _p[5]->v.d;
  double a2= (double) _p[6]->v.d;
  self->DaoWrap_arc( x, y, w, h, a1, a2 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_begin_complex_polygon( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_begin_complex_polygon(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_begin_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_begin_line(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_begin_loop( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_begin_loop(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_begin_points( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_begin_points(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_begin_polygon( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_begin_polygon(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_circle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  double x= (double) _p[1]->v.d;
  double y= (double) _p[2]->v.d;
  double r= (double) _p[3]->v.d;
  self->DaoWrap_circle( x, y, r );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_clip_box( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  int X= (int) _p[5]->v.i;
  int Y= (int) _p[6]->v.i;
  int W= (int) _p[7]->v.i;
  int H= (int) _p[8]->v.i;
  int _clip_box = self->DaoWrap_clip_box( x, y, w, h, X, Y, W, H );
  _p[5]->v.i = (int) X;
  _p[6]->v.i = (int) Y;
  _p[7]->v.i = (int) W;
  _p[8]->v.i = (int) H;
  DaoContext_PutInteger( _ctx, (int) _clip_box );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_color_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  Fl_Color _color = self->DaoWrap_color(  );
  DaoContext_PutInteger( _ctx, (int) _color );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  self->DaoWrap_color( c );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  uchar r= (uchar) _p[1]->v.i;
  uchar g= (uchar) _p[2]->v.i;
  uchar b= (uchar) _p[3]->v.i;
  self->DaoWrap_color( r, g, b );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_curve( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  double x= (double) _p[1]->v.d;
  double y= (double) _p[2]->v.d;
  double x1= (double) _p[3]->v.d;
  double y1= (double) _p[4]->v.d;
  double x2= (double) _p[5]->v.d;
  double y2= (double) _p[6]->v.d;
  double x3= (double) _p[7]->v.d;
  double y3= (double) _p[8]->v.d;
  self->DaoWrap_curve( x, y, x1, y1, x2, y2, x3, y3 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_draw_dao_5( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  Fl_Bitmap* bitmap= (Fl_Bitmap*) DValue_CastCData( _p[1], dao_Fl_Bitmap_Typer );
  int XP= (int) _p[2]->v.i;
  int YP= (int) _p[3]->v.i;
  int WP= (int) _p[4]->v.i;
  int HP= (int) _p[5]->v.i;
  int cx= (int) _p[6]->v.i;
  int cy= (int) _p[7]->v.i;
  self->DaoWrap_draw( bitmap, XP, YP, WP, HP, cx, cy );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_draw_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  Fl_Pixmap* pxm= (Fl_Pixmap*) DValue_CastCData( _p[1], dao_Fl_Pixmap_Typer );
  int XP= (int) _p[2]->v.i;
  int YP= (int) _p[3]->v.i;
  int WP= (int) _p[4]->v.i;
  int HP= (int) _p[5]->v.i;
  int cx= (int) _p[6]->v.i;
  int cy= (int) _p[7]->v.i;
  self->DaoWrap_draw( pxm, XP, YP, WP, HP, cx, cy );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_draw_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  Fl_RGB_Image* rgb= (Fl_RGB_Image*) DValue_CastCData( _p[1], dao_Fl_RGB_Image_Typer );
  int XP= (int) _p[2]->v.i;
  int YP= (int) _p[3]->v.i;
  int WP= (int) _p[4]->v.i;
  int HP= (int) _p[5]->v.i;
  int cx= (int) _p[6]->v.i;
  int cy= (int) _p[7]->v.i;
  self->DaoWrap_draw( rgb, XP, YP, WP, HP, cx, cy );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  char* s= (char*) DValue_GetMBString( _p[1] );
  int n= (int) _p[2]->v.i;
  int x= (int) _p[3]->v.i;
  int y= (int) _p[4]->v.i;
  self->DaoWrap_draw( s, n, x, y );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int angle= (int) _p[1]->v.i;
  char* str= (char*) DValue_GetMBString( _p[2] );
  int n= (int) _p[3]->v.i;
  int x= (int) _p[4]->v.i;
  int y= (int) _p[5]->v.i;
  self->DaoWrap_draw( angle, str, n, x, y );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_draw_image( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  uchar* d= (uchar*) DValue_GetMBString( _p[1] );
  int x= (int) _p[2]->v.i;
  int y= (int) _p[3]->v.i;
  int w= (int) _p[4]->v.i;
  int h= (int) _p[5]->v.i;
  int delta= (int) _p[6]->v.i;
  int ldelta= (int) _p[7]->v.i;
  self->DaoWrap_draw_image( d, x, y, w, h, delta, ldelta );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_draw_image_mono( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  uchar* d= (uchar*) DValue_GetMBString( _p[1] );
  int x= (int) _p[2]->v.i;
  int y= (int) _p[3]->v.i;
  int w= (int) _p[4]->v.i;
  int h= (int) _p[5]->v.i;
  int delta= (int) _p[6]->v.i;
  int ld= (int) _p[7]->v.i;
  self->DaoWrap_draw_image_mono( d, x, y, w, h, delta, ld );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_draw_scaled_image( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  uchar* data= (uchar*) DValue_GetMBString( _p[1] );
  double x= (double) _p[2]->v.d;
  double y= (double) _p[3]->v.d;
  double w= (double) _p[4]->v.d;
  double h= (double) _p[5]->v.d;
  int iw= (int) _p[6]->v.i;
  int ih= (int) _p[7]->v.i;
  int D= (int) _p[8]->v.i;
  int LD= (int) _p[9]->v.i;
  self->DaoWrap_draw_scaled_image( data, x, y, w, h, iw, ih, D, LD );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_draw_scaled_image_mono( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  uchar* data= (uchar*) DValue_GetMBString( _p[1] );
  double x= (double) _p[2]->v.d;
  double y= (double) _p[3]->v.d;
  double w= (double) _p[4]->v.d;
  double h= (double) _p[5]->v.d;
  int iw= (int) _p[6]->v.i;
  int ih= (int) _p[7]->v.i;
  int D= (int) _p[8]->v.i;
  int LD= (int) _p[9]->v.i;
  self->DaoWrap_draw_scaled_image_mono( data, x, y, w, h, iw, ih, D, LD );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_end_complex_polygon( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_end_complex_polygon(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_end_job( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->Fl_PSfile_Device::end_job(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_end_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_end_line(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_end_loop( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_end_loop(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_end_page( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int _end_page = self->Fl_PSfile_Device::end_page(  );
  DaoContext_PutInteger( _ctx, (int) _end_page );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_end_points( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_end_points(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_end_polygon( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_end_polygon(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_file( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  FILE* _file = self->Fl_PSfile_Device::file(  );
  DaoContext_PutFile( _ctx, (FILE*) _file );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_font_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int _font = self->DaoWrap_font(  );
  DaoContext_PutInteger( _ctx, (int) _font );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_font( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int face= (int) _p[1]->v.i;
  int size= (int) _p[2]->v.i;
  self->DaoWrap_font( face, size );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_gap( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_gap(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_interpolate_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int _interpolate = self->Fl_PSfile_Device::interpolate(  );
  DaoContext_PutInteger( _ctx, (int) _interpolate );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_interpolate( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int i= (int) _p[1]->v.i;
  self->Fl_PSfile_Device::interpolate( i );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x1= (int) _p[1]->v.i;
  int y1= (int) _p[2]->v.i;
  int x2= (int) _p[3]->v.i;
  int y2= (int) _p[4]->v.i;
  self->DaoWrap_line( x1, y1, x2, y2 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_line_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x1= (int) _p[1]->v.i;
  int y1= (int) _p[2]->v.i;
  int x2= (int) _p[3]->v.i;
  int y2= (int) _p[4]->v.i;
  int x3= (int) _p[5]->v.i;
  int y3= (int) _p[6]->v.i;
  self->DaoWrap_line( x1, y1, x2, y2, x3, y3 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_line_style( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int style= (int) _p[1]->v.i;
  int width= (int) _p[2]->v.i;
  char* dashes= (char*) DValue_GetMBString( _p[3] );
  self->DaoWrap_line_style( style, width, dashes );
  DString_SetMBS( _p[3]->v.s, (char*) dashes );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_loop( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x0= (int) _p[1]->v.i;
  int y0= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y1= (int) _p[4]->v.i;
  int x2= (int) _p[5]->v.i;
  int y2= (int) _p[6]->v.i;
  self->DaoWrap_loop( x0, y0, x1, y1, x2, y2 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_loop_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x0= (int) _p[1]->v.i;
  int y0= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y1= (int) _p[4]->v.i;
  int x2= (int) _p[5]->v.i;
  int y2= (int) _p[6]->v.i;
  int x3= (int) _p[7]->v.i;
  int y3= (int) _p[8]->v.i;
  self->DaoWrap_loop( x0, y0, x1, y1, x2, y2, x3, y3 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_margins( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int left= (int) _p[1]->v.i;
  int top= (int) _p[2]->v.i;
  int right= (int) _p[3]->v.i;
  int bottom= (int) _p[4]->v.i;
  self->Fl_PSfile_Device::margins( & left, & top, & right, & bottom );
  _p[1]->v.i = (int) left;
  _p[2]->v.i = (int) top;
  _p[3]->v.i = (int) right;
  _p[4]->v.i = (int) bottom;
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_not_clipped( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  int _not_clipped = self->DaoWrap_not_clipped( x, y, w, h );
  DaoContext_PutInteger( _ctx, (int) _not_clipped );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_origin( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  self->Fl_PSfile_Device::origin( x, y );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_page( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  double pw= (double) _p[1]->v.d;
  double ph= (double) _p[2]->v.d;
  int media= (int) _p[3]->v.i;
  self->Fl_PSfile_Device::page( pw, ph, media );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_page_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int format= (int) _p[1]->v.i;
  self->Fl_PSfile_Device::page( format );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_page_policy_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int _page_policy = self->Fl_PSfile_Device::page_policy(  );
  DaoContext_PutInteger( _ctx, (int) _page_policy );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_page_policy( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int p= (int) _p[1]->v.i;
  self->Fl_PSfile_Device::page_policy( p );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_pie( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  double a1= (double) _p[5]->v.d;
  double a2= (double) _p[6]->v.d;
  self->DaoWrap_pie( x, y, w, h, a1, a2 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_point( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  self->DaoWrap_point( x, y );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_polygon( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x0= (int) _p[1]->v.i;
  int y0= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y1= (int) _p[4]->v.i;
  int x2= (int) _p[5]->v.i;
  int y2= (int) _p[6]->v.i;
  self->DaoWrap_polygon( x0, y0, x1, y1, x2, y2 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_polygon_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x0= (int) _p[1]->v.i;
  int y0= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y1= (int) _p[4]->v.i;
  int x2= (int) _p[5]->v.i;
  int y2= (int) _p[6]->v.i;
  int x3= (int) _p[7]->v.i;
  int y3= (int) _p[8]->v.i;
  self->DaoWrap_polygon( x0, y0, x1, y1, x2, y2, x3, y3 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_pop_clip( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_pop_clip(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_printable_rect( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int w= (int) _p[1]->v.i;
  int h= (int) _p[2]->v.i;
  int _printable_rect = self->Fl_PSfile_Device::printable_rect( & w, & h );
  _p[1]->v.i = (int) w;
  _p[2]->v.i = (int) h;
  DaoContext_PutInteger( _ctx, (int) _printable_rect );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_push_clip( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  self->DaoWrap_push_clip( x, y, w, h );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_push_no_clip( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->DaoWrap_push_no_clip(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_rect( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  self->DaoWrap_rect( x, y, w, h );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_rectf( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  self->DaoWrap_rectf( x, y, w, h );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_rotate( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  float angle= (float) _p[1]->v.f;
  self->Fl_PSfile_Device::rotate( angle );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_scale( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  float scale_x= (float) _p[1]->v.f;
  float scale_y= (float) _p[2]->v.f;
  self->Fl_PSfile_Device::scale( scale_x, scale_y );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int _size = self->DaoWrap_size(  );
  DaoContext_PutInteger( _ctx, (int) _size );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_start_job_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  char* fname= (char*) DValue_GetMBString( _p[1] );
  int pagecount= (int) _p[2]->v.i;
  enum Fl_PSfile_Device::Page_Format format= (enum Fl_PSfile_Device::Page_Format) _p[3]->v.i;
  enum Fl_PSfile_Device::Page_Layout layout= (enum Fl_PSfile_Device::Page_Layout) _p[4]->v.i;
  int _start_job = self->Fl_PSfile_Device::start_job( fname, pagecount, format, layout );
  DaoContext_PutInteger( _ctx, (int) _start_job );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_start_job( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int pagecount= (int) _p[1]->v.i;
  enum Fl_PSfile_Device::Page_Format format= (enum Fl_PSfile_Device::Page_Format) _p[2]->v.i;
  enum Fl_PSfile_Device::Page_Layout layout= (enum Fl_PSfile_Device::Page_Layout) _p[3]->v.i;
  int _start_job = self->Fl_PSfile_Device::start_job( pagecount, format, layout );
  DaoContext_PutInteger( _ctx, (int) _start_job );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_start_page( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int _start_page = self->Fl_PSfile_Device::start_page(  );
  DaoContext_PutInteger( _ctx, (int) _start_page );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_start_postscript( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int pagecount= (int) _p[1]->v.i;
  enum Fl_PSfile_Device::Page_Format format= (enum Fl_PSfile_Device::Page_Format) _p[2]->v.i;
  enum Fl_PSfile_Device::Page_Layout layout= (enum Fl_PSfile_Device::Page_Layout) _p[3]->v.i;
  int _start_postscript = self->DaoWrap_start_postscript( pagecount, format, layout );
  DaoContext_PutInteger( _ctx, (int) _start_postscript );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_transformed_vertex( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  double x= (double) _p[1]->v.d;
  double y= (double) _p[2]->v.d;
  self->DaoWrap_transformed_vertex( x, y );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_translate( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  self->Fl_PSfile_Device::translate( x, y );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_untranslate( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_PSfile_Device* self= (Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  self->Fl_PSfile_Device::untranslate(  );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_vertex( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  double x= (double) _p[1]->v.d;
  double y= (double) _p[2]->v.d;
  self->DaoWrap_vertex( x, y );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_xyline( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  self->DaoWrap_xyline( x, y, x1 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_xyline_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y2= (int) _p[4]->v.i;
  self->DaoWrap_xyline( x, y, x1, y2 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_xyline_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int x1= (int) _p[3]->v.i;
  int y2= (int) _p[4]->v.i;
  int x3= (int) _p[5]->v.i;
  self->DaoWrap_xyline( x, y, x1, y2, x3 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_yxline( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int y1= (int) _p[3]->v.i;
  self->DaoWrap_yxline( x, y, y1 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_yxline_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int y1= (int) _p[3]->v.i;
  int x2= (int) _p[4]->v.i;
  self->DaoWrap_yxline( x, y, y1, x2 );
}
/* Fl_Printer.H */
static void dao_Fl_PSfile_Device_yxline_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_PSfile_Device *self = (DaoCxx_Fl_PSfile_Device*) DValue_CastCData( _p[0], dao_Fl_PSfile_Device_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int y1= (int) _p[3]->v.i;
  int x2= (int) _p[4]->v.i;
  int y3= (int) _p[5]->v.i;
  self->DaoWrap_yxline( x, y, y1, x2, y3 );
}

/*  Fl_Printer.H */


static DaoNumItem dao_Fl_PSfile_Device_Clip_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_PSfile_Device_Clip_Meths[] = 
{
  { NULL, NULL }
};

static DaoTypeBase Fl_PSfile_Device_Clip_Typer = 
{ "Fl_PSfile_Device_Clip", NULL, 
  dao_Fl_PSfile_Device_Clip_Nums,
  dao_Fl_PSfile_Device_Clip_Meths, 
  { 0 },
  { 0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_PSfile_Device_Clip_Typer = & Fl_PSfile_Device_Clip_Typer;

/*  Fl_Printer.H */


static DaoNumItem dao_Fl_PSfile_Device_page_format_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_PSfile_Device_page_format_Meths[] = 
{
  { NULL, NULL }
};

static DaoTypeBase Fl_PSfile_Device_page_format_Typer = 
{ "Fl_PSfile_Device_page_format", NULL, 
  dao_Fl_PSfile_Device_page_format_Nums,
  dao_Fl_PSfile_Device_page_format_Meths, 
  { 0 },
  { 0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_PSfile_Device_page_format_Typer = & Fl_PSfile_Device_page_format_Typer;

/*  Fl_Pack.H */


static DaoNumItem dao_Fl_Pack_Nums[] =
{
  { "VERTICAL", DAO_INTEGER, Fl_Pack::VERTICAL },
  { "HORIZONTAL", DAO_INTEGER, Fl_Pack::HORIZONTAL },
  { NULL, 0, 0 }
};
static void dao_Fl_Pack_Fl_Pack( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Pack_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Pack_horizontal( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Pack_spacing( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Pack_spacing_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Pack_Meths[] = 
{
  { dao_Fl_Pack_Fl_Pack, "Fl_Pack( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Pack" },
  { dao_Fl_Pack_draw, "draw( self : Fl_Pack )" },
  { dao_Fl_Pack_horizontal, "horizontal( self : Fl_Pack )=>int" },
  { dao_Fl_Pack_spacing, "spacing( self : Fl_Pack )=>int" },
  { dao_Fl_Pack_spacing_dao_2, "spacing( self : Fl_Pack, i : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Pack_Delete( void *self )
{
	delete (Fl_Pack*) self;
}
void* dao_cast_Fl_Pack_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Pack*)data;
}

static DaoTypeBase Fl_Pack_Typer = 
{ "Fl_Pack", NULL, 
  dao_Fl_Pack_Nums,
  dao_Fl_Pack_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Pack_to_Fl_Group,0 },
  Dao_Fl_Pack_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Pack_Typer = & Fl_Pack_Typer;
/* Fl_Pack.H */
static void dao_Fl_Pack_Fl_Pack( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Pack *_self = DaoCxx_Fl_Pack_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Pack.H */
static void dao_Fl_Pack_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Pack *self = (DaoCxx_Fl_Pack*) DValue_CastCData( _p[0], dao_Fl_Pack_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Pack.H */
static void dao_Fl_Pack_horizontal( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Pack* self= (Fl_Pack*) DValue_CastCData( _p[0], dao_Fl_Pack_Typer );
  uchar _horizontal = self->Fl_Pack::horizontal(  );
  DaoContext_PutInteger( _ctx, (int) _horizontal );
}
/* Fl_Pack.H */
static void dao_Fl_Pack_spacing( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Pack* self= (Fl_Pack*) DValue_CastCData( _p[0], dao_Fl_Pack_Typer );
  int _spacing = self->Fl_Pack::spacing(  );
  DaoContext_PutInteger( _ctx, (int) _spacing );
}
/* Fl_Pack.H */
static void dao_Fl_Pack_spacing_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Pack* self= (Fl_Pack*) DValue_CastCData( _p[0], dao_Fl_Pack_Typer );
  int i= (int) _p[1]->v.i;
  self->Fl_Pack::spacing( i );
}

/*  Fl_Preferences.H */


static DaoNumItem dao_Fl_Preferences_Nums[] =
{
  { "SYSTEM", DAO_INTEGER, Fl_Preferences::SYSTEM },
  { "USER", DAO_INTEGER, Fl_Preferences::USER },
  { NULL, 0, 0 }
};
static void dao_Fl_Preferences_Fl_Preferences_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_Fl_Preferences_dao_5( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_Fl_Preferences_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_Fl_Preferences_dao_6( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_Fl_Preferences_dao_8( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_Fl_Preferences( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_Fl_Preferences_dao_7( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_Fl_Preferences_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_deleteAllEntries( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_deleteAllGroups( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_deleteEntry( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_deleteGroup( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_entries( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_entry( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_entryExists( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_flush( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_get_dao_5( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_get_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_get_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_get( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_get_dao_7( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_getUserdataPath( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_group( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_groupExists( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_groups( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_id( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_newUUID( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_path( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_set_dao_6( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_set_dao_7( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_set_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_set_dao_5( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_set_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_set_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_set( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Preferences_size( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Preferences_Meths[] = 
{
  { dao_Fl_Preferences_Fl_Preferences_dao_3, "Fl_Preferences( parent : Fl_Preferences, group : string )=>Fl_Preferences" },
  { dao_Fl_Preferences_Fl_Preferences_dao_5, "Fl_Preferences( parent : Fl_Preferences, groupIndex : int )=>Fl_Preferences" },
  { dao_Fl_Preferences_Fl_Preferences_dao_4, "Fl_Preferences( parent : Fl_Preferences, group : string )=>Fl_Preferences" },
  { dao_Fl_Preferences_Fl_Preferences_dao_6, "Fl_Preferences( parent : Fl_Preferences, groupIndex : int )=>Fl_Preferences" },
  { dao_Fl_Preferences_Fl_Preferences_dao_8, "Fl_Preferences( id : Fl_Preferences_ID )=>Fl_Preferences" },
  { dao_Fl_Preferences_Fl_Preferences, "Fl_Preferences( root : int, vendor : string, application : string )=>Fl_Preferences" },
  { dao_Fl_Preferences_Fl_Preferences_dao_7, "Fl_Preferences( _cp0 : Fl_Preferences )=>Fl_Preferences" },
  { dao_Fl_Preferences_Fl_Preferences_dao_2, "Fl_Preferences( path : string, vendor : string, application : string )=>Fl_Preferences" },
  { dao_Fl_Preferences_clear, "clear( self : Fl_Preferences )=>int" },
  { dao_Fl_Preferences_deleteAllEntries, "deleteAllEntries( self : Fl_Preferences )=>int" },
  { dao_Fl_Preferences_deleteAllGroups, "deleteAllGroups( self : Fl_Preferences )=>int" },
  { dao_Fl_Preferences_deleteEntry, "deleteEntry( self : Fl_Preferences, entry : string )=>int" },
  { dao_Fl_Preferences_deleteGroup, "deleteGroup( self : Fl_Preferences, group : string )=>int" },
  { dao_Fl_Preferences_entries, "entries( self : Fl_Preferences )=>int" },
  { dao_Fl_Preferences_entry, "entry( self : Fl_Preferences, index : int )=>string" },
  { dao_Fl_Preferences_entryExists, "entryExists( self : Fl_Preferences, key : string )=>int" },
  { dao_Fl_Preferences_flush, "flush( self : Fl_Preferences )" },
  { dao_Fl_Preferences_get_dao_5, "get( self : Fl_Preferences, entry : string, value : string, defaultValue : string, maxSize : int )=>int" },
  { dao_Fl_Preferences_get_dao_3, "get( self : Fl_Preferences, entry : string, value : double, defaultValue : double )=>int" },
  { dao_Fl_Preferences_get_dao_2, "get( self : Fl_Preferences, entry : string, value : float, defaultValue : float )=>int" },
  { dao_Fl_Preferences_get, "get( self : Fl_Preferences, entry : string, value : int, defaultValue : int )=>int" },
  { dao_Fl_Preferences_get_dao_7, "get( self : Fl_Preferences, entry : string, value : cdata, defaultValue : cdata, defaultSize : int, maxSize : int )=>int" },
  { dao_Fl_Preferences_getUserdataPath, "getUserdataPath( self : Fl_Preferences, path : string, pathlen : int )=>int" },
  { dao_Fl_Preferences_group, "group( self : Fl_Preferences, num_group : int )=>string" },
  { dao_Fl_Preferences_groupExists, "groupExists( self : Fl_Preferences, key : string )=>int" },
  { dao_Fl_Preferences_groups, "groups( self : Fl_Preferences )=>int" },
  { dao_Fl_Preferences_id, "id( self : Fl_Preferences )=>Fl_Preferences_ID" },
  { dao_Fl_Preferences_name, "name( self : Fl_Preferences )=>string" },
  { dao_Fl_Preferences_newUUID, "newUUID(  )=>string" },
  { dao_Fl_Preferences_path, "path( self : Fl_Preferences )=>string" },
  { dao_Fl_Preferences_remove, "remove( id : Fl_Preferences_ID )=>int" },
  { dao_Fl_Preferences_set_dao_6, "set( self : Fl_Preferences, entry : string, value : string )=>int" },
  { dao_Fl_Preferences_set_dao_7, "set( self : Fl_Preferences, entry : string, value : cdata, size : int )=>int" },
  { dao_Fl_Preferences_set_dao_4, "set( self : Fl_Preferences, entry : string, value : double )=>int" },
  { dao_Fl_Preferences_set_dao_5, "set( self : Fl_Preferences, entry : string, value : double, precision : int )=>int" },
  { dao_Fl_Preferences_set_dao_2, "set( self : Fl_Preferences, entry : string, value : float )=>int" },
  { dao_Fl_Preferences_set_dao_3, "set( self : Fl_Preferences, entry : string, value : float, precision : int )=>int" },
  { dao_Fl_Preferences_set, "set( self : Fl_Preferences, entry : string, value : int )=>int" },
  { dao_Fl_Preferences_size, "size( self : Fl_Preferences, entry : string )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Preferences_Delete( void *self )
{
	delete (Fl_Preferences*) self;
}

static DaoTypeBase Fl_Preferences_Typer = 
{ "Fl_Preferences", NULL, 
  dao_Fl_Preferences_Nums,
  dao_Fl_Preferences_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Preferences_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Preferences_Typer = & Fl_Preferences_Typer;
/* Fl_Preferences.H */
static void dao_Fl_Preferences_Fl_Preferences_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* parent= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* group= (char*) DValue_GetMBString( _p[1] );
	Fl_Preferences *_self = Dao_Fl_Preferences_New( *parent, group );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Preferences_Typer );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_Fl_Preferences_dao_5( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* parent= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  int groupIndex= (int) _p[1]->v.i;
	Fl_Preferences *_self = Dao_Fl_Preferences_New( *parent, groupIndex );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Preferences_Typer );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_Fl_Preferences_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* parent= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* group= (char*) DValue_GetMBString( _p[1] );
	Fl_Preferences *_self = Dao_Fl_Preferences_New( parent, group );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Preferences_Typer );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_Fl_Preferences_dao_6( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* parent= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  int groupIndex= (int) _p[1]->v.i;
	Fl_Preferences *_self = Dao_Fl_Preferences_New( parent, groupIndex );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Preferences_Typer );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_Fl_Preferences_dao_8( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences::ID* id= (Fl_Preferences::ID*) DValue_CastCData( _p[0], dao_Fl_Preferences_ID_Typer );
	Fl_Preferences *_self = Dao_Fl_Preferences_New( *id );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Preferences_Typer );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_Fl_Preferences( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences::Root root= (Fl_Preferences::Root) _p[0]->v.i;
  char* vendor= (char*) DValue_GetMBString( _p[1] );
  char* application= (char*) DValue_GetMBString( _p[2] );
	Fl_Preferences *_self = Dao_Fl_Preferences_New( root, vendor, application );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Preferences_Typer );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_Fl_Preferences_dao_7( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* _cp0= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
	Fl_Preferences *_self = Dao_Fl_Preferences_New( *_cp0 );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Preferences_Typer );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_Fl_Preferences_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* path= (char*) DValue_GetMBString( _p[0] );
  char* vendor= (char*) DValue_GetMBString( _p[1] );
  char* application= (char*) DValue_GetMBString( _p[2] );
	Fl_Preferences *_self = Dao_Fl_Preferences_New( path, vendor, application );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Preferences_Typer );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char _clear = self->Fl_Preferences::clear(  );
  DaoContext_PutInteger( _ctx, (int) _clear );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_deleteAllEntries( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char _deleteAllEntries = self->Fl_Preferences::deleteAllEntries(  );
  DaoContext_PutInteger( _ctx, (int) _deleteAllEntries );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_deleteAllGroups( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char _deleteAllGroups = self->Fl_Preferences::deleteAllGroups(  );
  DaoContext_PutInteger( _ctx, (int) _deleteAllGroups );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_deleteEntry( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  char _deleteEntry = self->Fl_Preferences::deleteEntry( entry );
  DaoContext_PutInteger( _ctx, (int) _deleteEntry );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_deleteGroup( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* group= (char*) DValue_GetMBString( _p[1] );
  char _deleteGroup = self->Fl_Preferences::deleteGroup( group );
  DaoContext_PutInteger( _ctx, (int) _deleteGroup );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_entries( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  int _entries = self->Fl_Preferences::entries(  );
  DaoContext_PutInteger( _ctx, (int) _entries );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_entry( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  int index= (int) _p[1]->v.i;
  const char* _entry = self->Fl_Preferences::entry( index );
  DaoContext_PutMBString( _ctx, (char*) _entry );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_entryExists( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* key= (char*) DValue_GetMBString( _p[1] );
  char _entryExists = self->Fl_Preferences::entryExists( key );
  DaoContext_PutInteger( _ctx, (int) _entryExists );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_flush( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  self->Fl_Preferences::flush(  );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_get_dao_5( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  char* value= (char*) DValue_GetMBString( _p[2] );
  char* defaultValue= (char*) DValue_GetMBString( _p[3] );
  int maxSize= (int) _p[4]->v.i;
  char _get = self->Fl_Preferences::get( entry, value, defaultValue, maxSize );
  DString_SetMBS( _p[2]->v.s, (char*) value );
  DaoContext_PutInteger( _ctx, (int) _get );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_get_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  double value= (double) _p[2]->v.d;
  double defaultValue= (double) _p[3]->v.d;
  char _get = self->Fl_Preferences::get( entry, value, defaultValue );
  _p[2]->v.d = (double) value;
  DaoContext_PutInteger( _ctx, (int) _get );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_get_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  float value= (float) _p[2]->v.f;
  float defaultValue= (float) _p[3]->v.f;
  char _get = self->Fl_Preferences::get( entry, value, defaultValue );
  _p[2]->v.f = (float) value;
  DaoContext_PutInteger( _ctx, (int) _get );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_get( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  int value= (int) _p[2]->v.i;
  int defaultValue= (int) _p[3]->v.i;
  char _get = self->Fl_Preferences::get( entry, value, defaultValue );
  _p[2]->v.i = (int) value;
  DaoContext_PutInteger( _ctx, (int) _get );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_get_dao_7( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  void* value= (void*) DValue_GetCData( _p[2] );
  void* defaultValue= (void*) DValue_GetCData( _p[3] );
  int defaultSize= (int) _p[4]->v.i;
  int maxSize= (int) _p[5]->v.i;
  char _get = self->Fl_Preferences::get( entry, value, defaultValue, defaultSize, maxSize );
  DaoContext_PutInteger( _ctx, (int) _get );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_getUserdataPath( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* path= (char*) DValue_GetMBString( _p[1] );
  int pathlen= (int) _p[2]->v.i;
  char _getUserdataPath = self->Fl_Preferences::getUserdataPath( path, pathlen );
  DString_SetMBS( _p[1]->v.s, (char*) path );
  DaoContext_PutInteger( _ctx, (int) _getUserdataPath );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_group( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  int num_group= (int) _p[1]->v.i;
  const char* _group = self->Fl_Preferences::group( num_group );
  DaoContext_PutMBString( _ctx, (char*) _group );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_groupExists( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* key= (char*) DValue_GetMBString( _p[1] );
  char _groupExists = self->Fl_Preferences::groupExists( key );
  DaoContext_PutInteger( _ctx, (int) _groupExists );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_groups( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  int _groups = self->Fl_Preferences::groups(  );
  DaoContext_PutInteger( _ctx, (int) _groups );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_id( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  Fl_Preferences::ID _id = self->Fl_Preferences::id(  );
  DaoContext_CopyCData( _ctx, (void*)& _id, sizeof(Fl_Preferences::ID), dao_Fl_Preferences_ID_Typer );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  const char* _name = self->Fl_Preferences::name(  );
  DaoContext_PutMBString( _ctx, (char*) _name );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_newUUID( DaoContext *_ctx, DValue *_p[], int _n )
{
  const char* _newUUID = Fl_Preferences::newUUID(  );
  DaoContext_PutMBString( _ctx, (char*) _newUUID );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_path( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  const char* _path = self->Fl_Preferences::path(  );
  DaoContext_PutMBString( _ctx, (char*) _path );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences::ID* id= (Fl_Preferences::ID*) DValue_CastCData( _p[0], dao_Fl_Preferences_ID_Typer );
  char _remove = Fl_Preferences::remove( *id );
  DaoContext_PutInteger( _ctx, (int) _remove );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_set_dao_6( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  char* value= (char*) DValue_GetMBString( _p[2] );
  char _set = self->Fl_Preferences::set( entry, value );
  DaoContext_PutInteger( _ctx, (int) _set );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_set_dao_7( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  void* value= (void*) DValue_GetCData( _p[2] );
  int size= (int) _p[3]->v.i;
  char _set = self->Fl_Preferences::set( entry, value, size );
  DaoContext_PutInteger( _ctx, (int) _set );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_set_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  double value= (double) _p[2]->v.d;
  char _set = self->Fl_Preferences::set( entry, value );
  DaoContext_PutInteger( _ctx, (int) _set );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_set_dao_5( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  double value= (double) _p[2]->v.d;
  int precision= (int) _p[3]->v.i;
  char _set = self->Fl_Preferences::set( entry, value, precision );
  DaoContext_PutInteger( _ctx, (int) _set );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_set_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  float value= (float) _p[2]->v.f;
  char _set = self->Fl_Preferences::set( entry, value );
  DaoContext_PutInteger( _ctx, (int) _set );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_set_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  float value= (float) _p[2]->v.f;
  int precision= (int) _p[3]->v.i;
  char _set = self->Fl_Preferences::set( entry, value, precision );
  DaoContext_PutInteger( _ctx, (int) _set );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_set( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  int value= (int) _p[2]->v.i;
  char _set = self->Fl_Preferences::set( entry, value );
  DaoContext_PutInteger( _ctx, (int) _set );
}
/* Fl_Preferences.H */
static void dao_Fl_Preferences_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences* self= (Fl_Preferences*) DValue_CastCData( _p[0], dao_Fl_Preferences_Typer );
  char* entry= (char*) DValue_GetMBString( _p[1] );
  int _size = self->Fl_Preferences::size( entry );
  DaoContext_PutInteger( _ctx, (int) _size );
}

/*  Fl_Plugin.H */


static DaoNumItem dao_Fl_Plugin_Manager_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Plugin_Manager_Fl_Plugin_Manager( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Plugin_Manager_addPlugin( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Plugin_Manager_load( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Plugin_Manager_loadAll( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Plugin_Manager_plugin_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Plugin_Manager_plugin( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Plugin_Manager_plugins( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Plugin_Manager_removePlugin( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Plugin_Manager_Meths[] = 
{
  { dao_Fl_Plugin_Manager_Fl_Plugin_Manager, "Fl_Plugin_Manager( klass : string )=>Fl_Plugin_Manager" },
  { dao_Fl_Plugin_Manager_addPlugin, "addPlugin( self : Fl_Plugin_Manager, name : string, plugin : Fl_Plugin )=>Fl_Preferences_ID" },
  { dao_Fl_Plugin_Manager_load, "load( filename : string )=>int" },
  { dao_Fl_Plugin_Manager_loadAll, "loadAll( filepath : string, pattern : string|null=null )=>int" },
  { dao_Fl_Plugin_Manager_plugin_dao_2, "plugin( self : Fl_Plugin_Manager, name : string )=>Fl_Plugin" },
  { dao_Fl_Plugin_Manager_plugin, "plugin( self : Fl_Plugin_Manager, index : int )=>Fl_Plugin" },
  { dao_Fl_Plugin_Manager_plugins, "plugins( self : Fl_Plugin_Manager )=>int" },
  { dao_Fl_Plugin_Manager_removePlugin, "removePlugin( id : Fl_Preferences_ID )" },
  { NULL, NULL }
};
static void Dao_Fl_Plugin_Manager_Delete( void *self )
{
	delete (Fl_Plugin_Manager*) self;
}
void* dao_cast_Fl_Plugin_Manager_to_Fl_Preferences( void *data )
{
	return (Fl_Preferences*)(Fl_Plugin_Manager*)data;
}

static DaoTypeBase Fl_Plugin_Manager_Typer = 
{ "Fl_Plugin_Manager", NULL, 
  dao_Fl_Plugin_Manager_Nums,
  dao_Fl_Plugin_Manager_Meths, 
  { dao_Fl_Preferences_Typer, 0 },
  { dao_cast_Fl_Plugin_Manager_to_Fl_Preferences,0 },
  Dao_Fl_Plugin_Manager_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Plugin_Manager_Typer = & Fl_Plugin_Manager_Typer;
/* Fl_Plugin.H */
static void dao_Fl_Plugin_Manager_Fl_Plugin_Manager( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* klass= (char*) DValue_GetMBString( _p[0] );
	Fl_Plugin_Manager *_self = Dao_Fl_Plugin_Manager_New( klass );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Plugin_Manager_Typer );
}
/* Fl_Plugin.H */
static void dao_Fl_Plugin_Manager_addPlugin( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Plugin_Manager* self= (Fl_Plugin_Manager*) DValue_CastCData( _p[0], dao_Fl_Plugin_Manager_Typer );
  char* name= (char*) DValue_GetMBString( _p[1] );
  Fl_Plugin* plugin= (Fl_Plugin*) DValue_CastCData( _p[2], dao_Fl_Plugin_Typer );
  Fl_Preferences::ID _addPlugin = self->Fl_Plugin_Manager::addPlugin( name, plugin );
  DaoContext_CopyCData( _ctx, (void*)& _addPlugin, sizeof(Fl_Preferences::ID), dao_Fl_Preferences_ID_Typer );
}
/* Fl_Plugin.H */
static void dao_Fl_Plugin_Manager_load( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* filename= (char*) DValue_GetMBString( _p[0] );
  int _load = Fl_Plugin_Manager::load( filename );
  DaoContext_PutInteger( _ctx, (int) _load );
}
/* Fl_Plugin.H */
static void dao_Fl_Plugin_Manager_loadAll( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* filepath= (char*) DValue_GetMBString( _p[0] );
  char* pattern= (char*) DValue_GetMBString( _p[1] );
  int _loadAll = Fl_Plugin_Manager::loadAll( filepath, pattern );
  DaoContext_PutInteger( _ctx, (int) _loadAll );
}
/* Fl_Plugin.H */
static void dao_Fl_Plugin_Manager_plugin_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Plugin_Manager* self= (Fl_Plugin_Manager*) DValue_CastCData( _p[0], dao_Fl_Plugin_Manager_Typer );
  char* name= (char*) DValue_GetMBString( _p[1] );
  Fl_Plugin* _plugin = self->Fl_Plugin_Manager::plugin( name );
  DaoContext_WrapCData( _ctx, (void*) _plugin, dao_Fl_Plugin_Typer );
}
/* Fl_Plugin.H */
static void dao_Fl_Plugin_Manager_plugin( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Plugin_Manager* self= (Fl_Plugin_Manager*) DValue_CastCData( _p[0], dao_Fl_Plugin_Manager_Typer );
  int index= (int) _p[1]->v.i;
  Fl_Plugin* _plugin = self->Fl_Plugin_Manager::plugin( index );
  DaoContext_WrapCData( _ctx, (void*) _plugin, dao_Fl_Plugin_Typer );
}
/* Fl_Plugin.H */
static void dao_Fl_Plugin_Manager_plugins( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Plugin_Manager* self= (Fl_Plugin_Manager*) DValue_CastCData( _p[0], dao_Fl_Plugin_Manager_Typer );
  int _plugins = self->Fl_Plugin_Manager::plugins(  );
  DaoContext_PutInteger( _ctx, (int) _plugins );
}
/* Fl_Plugin.H */
static void dao_Fl_Plugin_Manager_removePlugin( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Preferences::ID* id= (Fl_Preferences::ID*) DValue_CastCData( _p[0], dao_Fl_Preferences_ID_Typer );
  Fl_Plugin_Manager::removePlugin( *id );
}

/*  Fl_Positioner.H */


static DaoNumItem dao_Fl_Positioner_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Positioner_Fl_Positioner( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_handle_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_xbounds( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_xmaximum( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_xmaximum_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_xminimum( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_xminimum_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_xstep( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_xvalue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_xvalue_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_ybounds( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_ymaximum( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_ymaximum_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_yminimum( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_yminimum_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_ystep( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_yvalue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Positioner_yvalue_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Positioner_Meths[] = 
{
  { dao_Fl_Positioner_Fl_Positioner, "Fl_Positioner( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Positioner" },
  { dao_Fl_Positioner_draw_dao_2, "draw( self : Fl_Positioner )" },
  { dao_Fl_Positioner_draw, "draw( self : Fl_Positioner, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Positioner_handle_dao_2, "handle( self : Fl_Positioner, _cp0 : int )=>int" },
  { dao_Fl_Positioner_handle, "handle( self : Fl_Positioner, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : int )=>int" },
  { dao_Fl_Positioner_value, "value( self : Fl_Positioner, _cp0 : double, _cp1 : double )=>int" },
  { dao_Fl_Positioner_xbounds, "xbounds( self : Fl_Positioner, _cp0 : double, _cp1 : double )" },
  { dao_Fl_Positioner_xmaximum, "xmaximum( self : Fl_Positioner )=>double" },
  { dao_Fl_Positioner_xmaximum_dao_2, "xmaximum( self : Fl_Positioner, a : double )" },
  { dao_Fl_Positioner_xminimum, "xminimum( self : Fl_Positioner )=>double" },
  { dao_Fl_Positioner_xminimum_dao_2, "xminimum( self : Fl_Positioner, a : double )" },
  { dao_Fl_Positioner_xstep, "xstep( self : Fl_Positioner, a : double )" },
  { dao_Fl_Positioner_xvalue, "xvalue( self : Fl_Positioner )=>double" },
  { dao_Fl_Positioner_xvalue_dao_2, "xvalue( self : Fl_Positioner, _cp0 : double )=>int" },
  { dao_Fl_Positioner_ybounds, "ybounds( self : Fl_Positioner, _cp0 : double, _cp1 : double )" },
  { dao_Fl_Positioner_ymaximum, "ymaximum( self : Fl_Positioner )=>double" },
  { dao_Fl_Positioner_ymaximum_dao_2, "ymaximum( self : Fl_Positioner, a : double )" },
  { dao_Fl_Positioner_yminimum, "yminimum( self : Fl_Positioner )=>double" },
  { dao_Fl_Positioner_yminimum_dao_2, "yminimum( self : Fl_Positioner, a : double )" },
  { dao_Fl_Positioner_ystep, "ystep( self : Fl_Positioner, a : double )" },
  { dao_Fl_Positioner_yvalue, "yvalue( self : Fl_Positioner )=>double" },
  { dao_Fl_Positioner_yvalue_dao_2, "yvalue( self : Fl_Positioner, _cp0 : double )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Positioner_Delete( void *self )
{
	delete (Fl_Positioner*) self;
}
void* dao_cast_Fl_Positioner_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_Positioner*)data;
}

static DaoTypeBase Fl_Positioner_Typer = 
{ "Fl_Positioner", NULL, 
  dao_Fl_Positioner_Nums,
  dao_Fl_Positioner_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_Positioner_to_Fl_Widget,0 },
  Dao_Fl_Positioner_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Positioner_Typer = & Fl_Positioner_Typer;
/* Fl_Positioner.H */
static void dao_Fl_Positioner_Fl_Positioner( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Positioner *_self = DaoCxx_Fl_Positioner_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Positioner *self = (DaoCxx_Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Positioner *self = (DaoCxx_Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->DaoWrap_draw( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_handle_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Positioner::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Positioner *self = (DaoCxx_Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  int _cp4= (int) _p[5]->v.i;
  int _handle = self->DaoWrap_handle( _cp0, _cp1, _cp2, _cp3, _cp4 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double _cp0= (double) _p[1]->v.d;
  double _cp1= (double) _p[2]->v.d;
  int _value = self->Fl_Positioner::value( _cp0, _cp1 );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_xbounds( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double _cp0= (double) _p[1]->v.d;
  double _cp1= (double) _p[2]->v.d;
  self->Fl_Positioner::xbounds( _cp0, _cp1 );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_xmaximum( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double _xmaximum = self->Fl_Positioner::xmaximum(  );
  DaoContext_PutDouble( _ctx, (double) _xmaximum );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_xmaximum_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double a= (double) _p[1]->v.d;
  self->Fl_Positioner::xmaximum( a );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_xminimum( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double _xminimum = self->Fl_Positioner::xminimum(  );
  DaoContext_PutDouble( _ctx, (double) _xminimum );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_xminimum_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double a= (double) _p[1]->v.d;
  self->Fl_Positioner::xminimum( a );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_xstep( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double a= (double) _p[1]->v.d;
  self->Fl_Positioner::xstep( a );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_xvalue( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double _xvalue = self->Fl_Positioner::xvalue(  );
  DaoContext_PutDouble( _ctx, (double) _xvalue );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_xvalue_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double _cp0= (double) _p[1]->v.d;
  int _xvalue = self->Fl_Positioner::xvalue( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _xvalue );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_ybounds( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double _cp0= (double) _p[1]->v.d;
  double _cp1= (double) _p[2]->v.d;
  self->Fl_Positioner::ybounds( _cp0, _cp1 );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_ymaximum( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double _ymaximum = self->Fl_Positioner::ymaximum(  );
  DaoContext_PutDouble( _ctx, (double) _ymaximum );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_ymaximum_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double a= (double) _p[1]->v.d;
  self->Fl_Positioner::ymaximum( a );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_yminimum( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double _yminimum = self->Fl_Positioner::yminimum(  );
  DaoContext_PutDouble( _ctx, (double) _yminimum );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_yminimum_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double a= (double) _p[1]->v.d;
  self->Fl_Positioner::yminimum( a );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_ystep( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double a= (double) _p[1]->v.d;
  self->Fl_Positioner::ystep( a );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_yvalue( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double _yvalue = self->Fl_Positioner::yvalue(  );
  DaoContext_PutDouble( _ctx, (double) _yvalue );
}
/* Fl_Positioner.H */
static void dao_Fl_Positioner_yvalue_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Positioner* self= (Fl_Positioner*) DValue_CastCData( _p[0], dao_Fl_Positioner_Typer );
  double _cp0= (double) _p[1]->v.d;
  int _yvalue = self->Fl_Positioner::yvalue( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _yvalue );
}

/*  Fl_Preferences.H */


static DaoNumItem dao_Fl_Preferences_Entry_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Preferences_Entry_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Preferences_Entry_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Preferences_Entry_Typer = 
{ "Fl_Preferences_Entry", NULL, 
  dao_Fl_Preferences_Entry_Nums,
  dao_Fl_Preferences_Entry_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Preferences_Entry_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Preferences_Entry_Typer = & Fl_Preferences_Entry_Typer;

/*  Fl_Preferences.H */


static DaoNumItem dao_Fl_Preferences_ID_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Preferences_ID_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Preferences_ID_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Preferences_ID_Typer = 
{ "Fl_Preferences_ID", NULL, 
  dao_Fl_Preferences_ID_Nums,
  dao_Fl_Preferences_ID_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Preferences_ID_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Preferences_ID_Typer = & Fl_Preferences_ID_Typer;

/*  Fl_Preferences.H */


static DaoNumItem dao_Fl_Preferences_Name_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Preferences_Name_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Preferences_Name_Delete( void *self )
{
	delete (Fl_Preferences::Name*) self;
}

static DaoTypeBase Fl_Preferences_Name_Typer = 
{ "Fl_Preferences_Name", NULL, 
  dao_Fl_Preferences_Name_Nums,
  dao_Fl_Preferences_Name_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Preferences_Name_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Preferences_Name_Typer = & Fl_Preferences_Name_Typer;

/*  Fl_Preferences.H */


static DaoNumItem dao_Fl_Preferences_Node_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Preferences_Node_Meths[] = 
{
  { NULL, NULL }
};

static DaoTypeBase Fl_Preferences_Node_Typer = 
{ "Fl_Preferences_Node", NULL, 
  dao_Fl_Preferences_Node_Nums,
  dao_Fl_Preferences_Node_Meths, 
  { 0 },
  { 0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Preferences_Node_Typer = & Fl_Preferences_Node_Typer;

/*  Fl_Preferences.H */


static DaoNumItem dao_Fl_Preferences_RootNode_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Preferences_RootNode_Meths[] = 
{
  { NULL, NULL }
};

static DaoTypeBase Fl_Preferences_RootNode_Typer = 
{ "Fl_Preferences_RootNode", NULL, 
  dao_Fl_Preferences_RootNode_Nums,
  dao_Fl_Preferences_RootNode_Meths, 
  { 0 },
  { 0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Preferences_RootNode_Typer = & Fl_Preferences_RootNode_Typer;

/*  Fl_Progress.H */


static DaoNumItem dao_Fl_Progress_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Progress_Fl_Progress( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Progress_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Progress_maximum_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Progress_maximum( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Progress_minimum_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Progress_minimum( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Progress_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Progress_value( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Progress_Meths[] = 
{
  { dao_Fl_Progress_Fl_Progress, "Fl_Progress( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Progress" },
  { dao_Fl_Progress_draw, "draw( self : Fl_Progress )" },
  { dao_Fl_Progress_maximum_dao_2, "maximum( self : Fl_Progress )=>float" },
  { dao_Fl_Progress_maximum, "maximum( self : Fl_Progress, v : float )" },
  { dao_Fl_Progress_minimum_dao_2, "minimum( self : Fl_Progress )=>float" },
  { dao_Fl_Progress_minimum, "minimum( self : Fl_Progress, v : float )" },
  { dao_Fl_Progress_value_dao_2, "value( self : Fl_Progress )=>float" },
  { dao_Fl_Progress_value, "value( self : Fl_Progress, v : float )" },
  { NULL, NULL }
};
static void Dao_Fl_Progress_Delete( void *self )
{
	delete (Fl_Progress*) self;
}
void* dao_cast_Fl_Progress_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_Progress*)data;
}

static DaoTypeBase Fl_Progress_Typer = 
{ "Fl_Progress", NULL, 
  dao_Fl_Progress_Nums,
  dao_Fl_Progress_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_Progress_to_Fl_Widget,0 },
  Dao_Fl_Progress_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Progress_Typer = & Fl_Progress_Typer;
/* Fl_Progress.H */
static void dao_Fl_Progress_Fl_Progress( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Progress *_self = DaoCxx_Fl_Progress_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Progress.H */
static void dao_Fl_Progress_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Progress *self = (DaoCxx_Fl_Progress*) DValue_CastCData( _p[0], dao_Fl_Progress_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Progress.H */
static void dao_Fl_Progress_maximum_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Progress* self= (Fl_Progress*) DValue_CastCData( _p[0], dao_Fl_Progress_Typer );
  float _maximum = self->Fl_Progress::maximum(  );
  DaoContext_PutFloat( _ctx, (float) _maximum );
}
/* Fl_Progress.H */
static void dao_Fl_Progress_maximum( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Progress* self= (Fl_Progress*) DValue_CastCData( _p[0], dao_Fl_Progress_Typer );
  float v= (float) _p[1]->v.f;
  self->Fl_Progress::maximum( v );
}
/* Fl_Progress.H */
static void dao_Fl_Progress_minimum_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Progress* self= (Fl_Progress*) DValue_CastCData( _p[0], dao_Fl_Progress_Typer );
  float _minimum = self->Fl_Progress::minimum(  );
  DaoContext_PutFloat( _ctx, (float) _minimum );
}
/* Fl_Progress.H */
static void dao_Fl_Progress_minimum( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Progress* self= (Fl_Progress*) DValue_CastCData( _p[0], dao_Fl_Progress_Typer );
  float v= (float) _p[1]->v.f;
  self->Fl_Progress::minimum( v );
}
/* Fl_Progress.H */
static void dao_Fl_Progress_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Progress* self= (Fl_Progress*) DValue_CastCData( _p[0], dao_Fl_Progress_Typer );
  float _value = self->Fl_Progress::value(  );
  DaoContext_PutFloat( _ctx, (float) _value );
}
/* Fl_Progress.H */
static void dao_Fl_Progress_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Progress* self= (Fl_Progress*) DValue_CastCData( _p[0], dao_Fl_Progress_Typer );
  float v= (float) _p[1]->v.f;
  self->Fl_Progress::value( v );
}

/*  Fl_Radio_Button.H */


static DaoNumItem dao_Fl_Radio_Button_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Radio_Button_Fl_Radio_Button( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Radio_Button_Meths[] = 
{
  { dao_Fl_Radio_Button_Fl_Radio_Button, "Fl_Radio_Button( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Radio_Button" },
  { NULL, NULL }
};
static void Dao_Fl_Radio_Button_Delete( void *self )
{
	delete (Fl_Radio_Button*) self;
}
void* dao_cast_Fl_Radio_Button_to_Fl_Button( void *data )
{
	return (Fl_Button*)(Fl_Radio_Button*)data;
}

static DaoTypeBase Fl_Radio_Button_Typer = 
{ "Fl_Radio_Button", NULL, 
  dao_Fl_Radio_Button_Nums,
  dao_Fl_Radio_Button_Meths, 
  { dao_Fl_Button_Typer, 0 },
  { dao_cast_Fl_Radio_Button_to_Fl_Button,0 },
  Dao_Fl_Radio_Button_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Radio_Button_Typer = & Fl_Radio_Button_Typer;
/* Fl_Radio_Button.H */
static void dao_Fl_Radio_Button_Fl_Radio_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Radio_Button *_self = DaoCxx_Fl_Radio_Button_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Radio_Light_Button.H */


static DaoNumItem dao_Fl_Radio_Light_Button_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Radio_Light_Button_Fl_Radio_Light_Button( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Radio_Light_Button_Meths[] = 
{
  { dao_Fl_Radio_Light_Button_Fl_Radio_Light_Button, "Fl_Radio_Light_Button( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Radio_Light_Button" },
  { NULL, NULL }
};
static void Dao_Fl_Radio_Light_Button_Delete( void *self )
{
	delete (Fl_Radio_Light_Button*) self;
}
void* dao_cast_Fl_Radio_Light_Button_to_Fl_Light_Button( void *data )
{
	return (Fl_Light_Button*)(Fl_Radio_Light_Button*)data;
}

static DaoTypeBase Fl_Radio_Light_Button_Typer = 
{ "Fl_Radio_Light_Button", NULL, 
  dao_Fl_Radio_Light_Button_Nums,
  dao_Fl_Radio_Light_Button_Meths, 
  { dao_Fl_Light_Button_Typer, 0 },
  { dao_cast_Fl_Radio_Light_Button_to_Fl_Light_Button,0 },
  Dao_Fl_Radio_Light_Button_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Radio_Light_Button_Typer = & Fl_Radio_Light_Button_Typer;
/* Fl_Radio_Light_Button.H */
static void dao_Fl_Radio_Light_Button_Fl_Radio_Light_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Radio_Light_Button *_self = DaoCxx_Fl_Radio_Light_Button_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Round_Button.H */


static DaoNumItem dao_Fl_Round_Button_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Round_Button_Fl_Round_Button( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Round_Button_Meths[] = 
{
  { dao_Fl_Round_Button_Fl_Round_Button, "Fl_Round_Button( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Round_Button" },
  { NULL, NULL }
};
static void Dao_Fl_Round_Button_Delete( void *self )
{
	delete (Fl_Round_Button*) self;
}
void* dao_cast_Fl_Round_Button_to_Fl_Light_Button( void *data )
{
	return (Fl_Light_Button*)(Fl_Round_Button*)data;
}

static DaoTypeBase Fl_Round_Button_Typer = 
{ "Fl_Round_Button", NULL, 
  dao_Fl_Round_Button_Nums,
  dao_Fl_Round_Button_Meths, 
  { dao_Fl_Light_Button_Typer, 0 },
  { dao_cast_Fl_Round_Button_to_Fl_Light_Button,0 },
  Dao_Fl_Round_Button_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Round_Button_Typer = & Fl_Round_Button_Typer;
/* Fl_Round_Button.H */
static void dao_Fl_Round_Button_Fl_Round_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Round_Button *_self = DaoCxx_Fl_Round_Button_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Radio_Round_Button.H */


static DaoNumItem dao_Fl_Radio_Round_Button_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Radio_Round_Button_Fl_Radio_Round_Button( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Radio_Round_Button_Meths[] = 
{
  { dao_Fl_Radio_Round_Button_Fl_Radio_Round_Button, "Fl_Radio_Round_Button( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Radio_Round_Button" },
  { NULL, NULL }
};
static void Dao_Fl_Radio_Round_Button_Delete( void *self )
{
	delete (Fl_Radio_Round_Button*) self;
}
void* dao_cast_Fl_Radio_Round_Button_to_Fl_Round_Button( void *data )
{
	return (Fl_Round_Button*)(Fl_Radio_Round_Button*)data;
}

static DaoTypeBase Fl_Radio_Round_Button_Typer = 
{ "Fl_Radio_Round_Button", NULL, 
  dao_Fl_Radio_Round_Button_Nums,
  dao_Fl_Radio_Round_Button_Meths, 
  { dao_Fl_Round_Button_Typer, 0 },
  { dao_cast_Fl_Radio_Round_Button_to_Fl_Round_Button,0 },
  Dao_Fl_Radio_Round_Button_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Radio_Round_Button_Typer = & Fl_Radio_Round_Button_Typer;
/* Fl_Radio_Round_Button.H */
static void dao_Fl_Radio_Round_Button_Fl_Radio_Round_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Radio_Round_Button *_self = DaoCxx_Fl_Radio_Round_Button_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Repeat_Button.H */


static DaoNumItem dao_Fl_Repeat_Button_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Repeat_Button_Fl_Repeat_Button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Repeat_Button_deactivate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Repeat_Button_handle( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Repeat_Button_Meths[] = 
{
  { dao_Fl_Repeat_Button_Fl_Repeat_Button, "Fl_Repeat_Button( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Repeat_Button" },
  { dao_Fl_Repeat_Button_deactivate, "deactivate( self : Fl_Repeat_Button )" },
  { dao_Fl_Repeat_Button_handle, "handle( self : Fl_Repeat_Button, _cp0 : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Repeat_Button_Delete( void *self )
{
	delete (Fl_Repeat_Button*) self;
}
void* dao_cast_Fl_Repeat_Button_to_Fl_Button( void *data )
{
	return (Fl_Button*)(Fl_Repeat_Button*)data;
}

static DaoTypeBase Fl_Repeat_Button_Typer = 
{ "Fl_Repeat_Button", NULL, 
  dao_Fl_Repeat_Button_Nums,
  dao_Fl_Repeat_Button_Meths, 
  { dao_Fl_Button_Typer, 0 },
  { dao_cast_Fl_Repeat_Button_to_Fl_Button,0 },
  Dao_Fl_Repeat_Button_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Repeat_Button_Typer = & Fl_Repeat_Button_Typer;
/* Fl_Repeat_Button.H */
static void dao_Fl_Repeat_Button_Fl_Repeat_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Repeat_Button *_self = DaoCxx_Fl_Repeat_Button_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Repeat_Button.H */
static void dao_Fl_Repeat_Button_deactivate( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Repeat_Button* self= (Fl_Repeat_Button*) DValue_CastCData( _p[0], dao_Fl_Repeat_Button_Typer );
  self->Fl_Repeat_Button::deactivate(  );
}
/* Fl_Repeat_Button.H */
static void dao_Fl_Repeat_Button_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Repeat_Button* self= (Fl_Repeat_Button*) DValue_CastCData( _p[0], dao_Fl_Repeat_Button_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Repeat_Button::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}

/*  Fl_Return_Button.H */


static DaoNumItem dao_Fl_Return_Button_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Return_Button_Fl_Return_Button( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Return_Button_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Return_Button_handle( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Return_Button_Meths[] = 
{
  { dao_Fl_Return_Button_Fl_Return_Button, "Fl_Return_Button( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Return_Button" },
  { dao_Fl_Return_Button_draw, "draw( self : Fl_Return_Button )" },
  { dao_Fl_Return_Button_handle, "handle( self : Fl_Return_Button, _cp0 : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Return_Button_Delete( void *self )
{
	delete (Fl_Return_Button*) self;
}
void* dao_cast_Fl_Return_Button_to_Fl_Button( void *data )
{
	return (Fl_Button*)(Fl_Return_Button*)data;
}

static DaoTypeBase Fl_Return_Button_Typer = 
{ "Fl_Return_Button", NULL, 
  dao_Fl_Return_Button_Nums,
  dao_Fl_Return_Button_Meths, 
  { dao_Fl_Button_Typer, 0 },
  { dao_cast_Fl_Return_Button_to_Fl_Button,0 },
  Dao_Fl_Return_Button_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Return_Button_Typer = & Fl_Return_Button_Typer;
/* Fl_Return_Button.H */
static void dao_Fl_Return_Button_Fl_Return_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Return_Button *_self = DaoCxx_Fl_Return_Button_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Return_Button.H */
static void dao_Fl_Return_Button_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Return_Button *self = (DaoCxx_Fl_Return_Button*) DValue_CastCData( _p[0], dao_Fl_Return_Button_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Return_Button.H */
static void dao_Fl_Return_Button_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Return_Button* self= (Fl_Return_Button*) DValue_CastCData( _p[0], dao_Fl_Return_Button_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Return_Button::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}

/*  Fl_Roller.H */


static DaoNumItem dao_Fl_Roller_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Roller_Fl_Roller( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Roller_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Roller_handle( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Roller_Meths[] = 
{
  { dao_Fl_Roller_Fl_Roller, "Fl_Roller( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Roller" },
  { dao_Fl_Roller_draw, "draw( self : Fl_Roller )" },
  { dao_Fl_Roller_handle, "handle( self : Fl_Roller, _cp0 : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Roller_Delete( void *self )
{
	delete (Fl_Roller*) self;
}
void* dao_cast_Fl_Roller_to_Fl_Valuator( void *data )
{
	return (Fl_Valuator*)(Fl_Roller*)data;
}

static DaoTypeBase Fl_Roller_Typer = 
{ "Fl_Roller", NULL, 
  dao_Fl_Roller_Nums,
  dao_Fl_Roller_Meths, 
  { dao_Fl_Valuator_Typer, 0 },
  { dao_cast_Fl_Roller_to_Fl_Valuator,0 },
  Dao_Fl_Roller_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Roller_Typer = & Fl_Roller_Typer;
/* Fl_Roller.H */
static void dao_Fl_Roller_Fl_Roller( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Roller *_self = DaoCxx_Fl_Roller_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Roller.H */
static void dao_Fl_Roller_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Roller *self = (DaoCxx_Fl_Roller*) DValue_CastCData( _p[0], dao_Fl_Roller_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Roller.H */
static void dao_Fl_Roller_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Roller* self= (Fl_Roller*) DValue_CastCData( _p[0], dao_Fl_Roller_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Roller::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}

/*  Fl_Round_Clock.H */


static DaoNumItem dao_Fl_Round_Clock_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Round_Clock_Fl_Round_Clock( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Round_Clock_Meths[] = 
{
  { dao_Fl_Round_Clock_Fl_Round_Clock, "Fl_Round_Clock( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Round_Clock" },
  { NULL, NULL }
};
static void Dao_Fl_Round_Clock_Delete( void *self )
{
	delete (Fl_Round_Clock*) self;
}
void* dao_cast_Fl_Round_Clock_to_Fl_Clock( void *data )
{
	return (Fl_Clock*)(Fl_Round_Clock*)data;
}

static DaoTypeBase Fl_Round_Clock_Typer = 
{ "Fl_Round_Clock", NULL, 
  dao_Fl_Round_Clock_Nums,
  dao_Fl_Round_Clock_Meths, 
  { dao_Fl_Clock_Typer, 0 },
  { dao_cast_Fl_Round_Clock_to_Fl_Clock,0 },
  Dao_Fl_Round_Clock_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Round_Clock_Typer = & Fl_Round_Clock_Typer;
/* Fl_Round_Clock.H */
static void dao_Fl_Round_Clock_Fl_Round_Clock( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Round_Clock *_self = DaoCxx_Fl_Round_Clock_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Scroll.H */


static void dao_Fl_Scroll_GETF_scrollbar( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scroll_GETF_hscrollbar( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Scroll_Nums[] =
{
  { "HORIZONTAL", DAO_INTEGER, Fl_Scroll::HORIZONTAL },
  { "VERTICAL", DAO_INTEGER, Fl_Scroll::VERTICAL },
  { "BOTH", DAO_INTEGER, Fl_Scroll::BOTH },
  { "ALWAYS_ON", DAO_INTEGER, Fl_Scroll::ALWAYS_ON },
  { "HORIZONTAL_ALWAYS", DAO_INTEGER, Fl_Scroll::HORIZONTAL_ALWAYS },
  { "VERTICAL_ALWAYS", DAO_INTEGER, Fl_Scroll::VERTICAL_ALWAYS },
  { "BOTH_ALWAYS", DAO_INTEGER, Fl_Scroll::BOTH_ALWAYS },
  { NULL, 0, 0 }
};
static void dao_Fl_Scroll_Fl_Scroll( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scroll_bbox( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scroll_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scroll_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scroll_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scroll_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scroll_scroll_to( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scroll_scrollbar_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scroll_scrollbar_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scroll_xposition( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scroll_yposition( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Scroll_Meths[] = 
{
  { dao_Fl_Scroll_GETF_scrollbar, ".scrollbar( self : Fl_Scroll )=>Fl_Scrollbar" },
  { dao_Fl_Scroll_GETF_hscrollbar, ".hscrollbar( self : Fl_Scroll )=>Fl_Scrollbar" },
  { dao_Fl_Scroll_Fl_Scroll, "Fl_Scroll( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Scroll" },
  { dao_Fl_Scroll_bbox, "bbox( self : Fl_Scroll, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Scroll_clear, "clear( self : Fl_Scroll )" },
  { dao_Fl_Scroll_draw, "draw( self : Fl_Scroll )" },
  { dao_Fl_Scroll_handle, "handle( self : Fl_Scroll, _cp0 : int )=>int" },
  { dao_Fl_Scroll_resize, "resize( self : Fl_Scroll, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Scroll_scroll_to, "scroll_to( self : Fl_Scroll, _cp0 : int, _cp1 : int )" },
  { dao_Fl_Scroll_scrollbar_size, "scrollbar_size( self : Fl_Scroll )=>int" },
  { dao_Fl_Scroll_scrollbar_size_dao_2, "scrollbar_size( self : Fl_Scroll, size : int )" },
  { dao_Fl_Scroll_xposition, "xposition( self : Fl_Scroll )=>int" },
  { dao_Fl_Scroll_yposition, "yposition( self : Fl_Scroll )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Scroll_Delete( void *self )
{
	delete (Fl_Scroll*) self;
}
void* dao_cast_Fl_Scroll_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Scroll*)data;
}

static DaoTypeBase Fl_Scroll_Typer = 
{ "Fl_Scroll", NULL, 
  dao_Fl_Scroll_Nums,
  dao_Fl_Scroll_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Scroll_to_Fl_Group,0 },
  Dao_Fl_Scroll_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Scroll_Typer = & Fl_Scroll_Typer;
static void dao_Fl_Scroll_GETF_scrollbar( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scroll *self = (Fl_Scroll*)DValue_CastCData(_p[0],dao_Fl_Scroll_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->scrollbar, dao_Fl_Scrollbar_Typer );
}
static void dao_Fl_Scroll_GETF_hscrollbar( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scroll *self = (Fl_Scroll*)DValue_CastCData(_p[0],dao_Fl_Scroll_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->hscrollbar, dao_Fl_Scrollbar_Typer );
}
/* Fl_Scroll.H */
static void dao_Fl_Scroll_Fl_Scroll( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Scroll *_self = DaoCxx_Fl_Scroll_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Scroll.H */
static void dao_Fl_Scroll_bbox( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Scroll *self = (DaoCxx_Fl_Scroll*) DValue_CastCData( _p[0], dao_Fl_Scroll_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->DaoWrap_bbox( _cp0, _cp1, _cp2, _cp3 );
  _p[1]->v.i = (int) _cp0;
  _p[2]->v.i = (int) _cp1;
  _p[3]->v.i = (int) _cp2;
  _p[4]->v.i = (int) _cp3;
}
/* Fl_Scroll.H */
static void dao_Fl_Scroll_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scroll* self= (Fl_Scroll*) DValue_CastCData( _p[0], dao_Fl_Scroll_Typer );
  self->Fl_Scroll::clear(  );
}
/* Fl_Scroll.H */
static void dao_Fl_Scroll_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Scroll *self = (DaoCxx_Fl_Scroll*) DValue_CastCData( _p[0], dao_Fl_Scroll_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Scroll.H */
static void dao_Fl_Scroll_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scroll* self= (Fl_Scroll*) DValue_CastCData( _p[0], dao_Fl_Scroll_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Scroll::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Scroll.H */
static void dao_Fl_Scroll_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scroll* self= (Fl_Scroll*) DValue_CastCData( _p[0], dao_Fl_Scroll_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->Fl_Scroll::resize( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Scroll.H */
static void dao_Fl_Scroll_scroll_to( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scroll* self= (Fl_Scroll*) DValue_CastCData( _p[0], dao_Fl_Scroll_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  self->Fl_Scroll::scroll_to( _cp0, _cp1 );
}
/* Fl_Scroll.H */
static void dao_Fl_Scroll_scrollbar_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scroll* self= (Fl_Scroll*) DValue_CastCData( _p[0], dao_Fl_Scroll_Typer );
  int _scrollbar_size = self->Fl_Scroll::scrollbar_size(  );
  DaoContext_PutInteger( _ctx, (int) _scrollbar_size );
}
/* Fl_Scroll.H */
static void dao_Fl_Scroll_scrollbar_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scroll* self= (Fl_Scroll*) DValue_CastCData( _p[0], dao_Fl_Scroll_Typer );
  int size= (int) _p[1]->v.i;
  self->Fl_Scroll::scrollbar_size( size );
}
/* Fl_Scroll.H */
static void dao_Fl_Scroll_xposition( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scroll* self= (Fl_Scroll*) DValue_CastCData( _p[0], dao_Fl_Scroll_Typer );
  int _xposition = self->Fl_Scroll::xposition(  );
  DaoContext_PutInteger( _ctx, (int) _xposition );
}
/* Fl_Scroll.H */
static void dao_Fl_Scroll_yposition( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scroll* self= (Fl_Scroll*) DValue_CastCData( _p[0], dao_Fl_Scroll_Typer );
  int _yposition = self->Fl_Scroll::yposition(  );
  DaoContext_PutInteger( _ctx, (int) _yposition );
}

/*  Fl_Scroll.H */


static DaoNumItem dao_Fl_Scroll_ScrollInfo_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Scroll_ScrollInfo_Meths[] = 
{
  { NULL, NULL }
};

static DaoTypeBase Fl_Scroll_ScrollInfo_Typer = 
{ "Fl_Scroll_ScrollInfo", NULL, 
  dao_Fl_Scroll_ScrollInfo_Nums,
  dao_Fl_Scroll_ScrollInfo_Meths, 
  { 0 },
  { 0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Scroll_ScrollInfo_Typer = & Fl_Scroll_ScrollInfo_Typer;

/*  Fl_Scrollbar.H */


static DaoNumItem dao_Fl_Scrollbar_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Scrollbar_Fl_Scrollbar( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scrollbar_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scrollbar_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scrollbar_linesize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scrollbar_linesize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scrollbar_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scrollbar_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Scrollbar_value_dao_3( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Scrollbar_Meths[] = 
{
  { dao_Fl_Scrollbar_Fl_Scrollbar, "Fl_Scrollbar( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Scrollbar" },
  { dao_Fl_Scrollbar_draw, "draw( self : Fl_Scrollbar )" },
  { dao_Fl_Scrollbar_handle, "handle( self : Fl_Scrollbar, _cp0 : int )=>int" },
  { dao_Fl_Scrollbar_linesize, "linesize( self : Fl_Scrollbar )=>int" },
  { dao_Fl_Scrollbar_linesize_dao_2, "linesize( self : Fl_Scrollbar, i : int )" },
  { dao_Fl_Scrollbar_value, "value( self : Fl_Scrollbar )=>int" },
  { dao_Fl_Scrollbar_value_dao_2, "value( self : Fl_Scrollbar, p : int )=>int" },
  { dao_Fl_Scrollbar_value_dao_3, "value( self : Fl_Scrollbar, pos : int, size : int, first : int, total : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Scrollbar_Delete( void *self )
{
	delete (Fl_Scrollbar*) self;
}
void* dao_cast_Fl_Scrollbar_to_Fl_Slider( void *data )
{
	return (Fl_Slider*)(Fl_Scrollbar*)data;
}

static DaoTypeBase Fl_Scrollbar_Typer = 
{ "Fl_Scrollbar", NULL, 
  dao_Fl_Scrollbar_Nums,
  dao_Fl_Scrollbar_Meths, 
  { dao_Fl_Slider_Typer, 0 },
  { dao_cast_Fl_Scrollbar_to_Fl_Slider,0 },
  Dao_Fl_Scrollbar_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Scrollbar_Typer = & Fl_Scrollbar_Typer;
/* Fl_Scrollbar.H */
static void dao_Fl_Scrollbar_Fl_Scrollbar( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Scrollbar *_self = DaoCxx_Fl_Scrollbar_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Scrollbar.H */
static void dao_Fl_Scrollbar_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Scrollbar *self = (DaoCxx_Fl_Scrollbar*) DValue_CastCData( _p[0], dao_Fl_Scrollbar_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Scrollbar.H */
static void dao_Fl_Scrollbar_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scrollbar* self= (Fl_Scrollbar*) DValue_CastCData( _p[0], dao_Fl_Scrollbar_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Scrollbar::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Scrollbar.H */
static void dao_Fl_Scrollbar_linesize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scrollbar* self= (Fl_Scrollbar*) DValue_CastCData( _p[0], dao_Fl_Scrollbar_Typer );
  int _linesize = self->Fl_Scrollbar::linesize(  );
  DaoContext_PutInteger( _ctx, (int) _linesize );
}
/* Fl_Scrollbar.H */
static void dao_Fl_Scrollbar_linesize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scrollbar* self= (Fl_Scrollbar*) DValue_CastCData( _p[0], dao_Fl_Scrollbar_Typer );
  int i= (int) _p[1]->v.i;
  self->Fl_Scrollbar::linesize( i );
}
/* Fl_Scrollbar.H */
static void dao_Fl_Scrollbar_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scrollbar* self= (Fl_Scrollbar*) DValue_CastCData( _p[0], dao_Fl_Scrollbar_Typer );
  int _value = self->Fl_Scrollbar::value(  );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Scrollbar.H */
static void dao_Fl_Scrollbar_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scrollbar* self= (Fl_Scrollbar*) DValue_CastCData( _p[0], dao_Fl_Scrollbar_Typer );
  int p= (int) _p[1]->v.i;
  int _value = self->Fl_Scrollbar::value( p );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Scrollbar.H */
static void dao_Fl_Scrollbar_value_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Scrollbar* self= (Fl_Scrollbar*) DValue_CastCData( _p[0], dao_Fl_Scrollbar_Typer );
  int pos= (int) _p[1]->v.i;
  int size= (int) _p[2]->v.i;
  int first= (int) _p[3]->v.i;
  int total= (int) _p[4]->v.i;
  int _value = self->Fl_Scrollbar::value( pos, size, first, total );
  DaoContext_PutInteger( _ctx, (int) _value );
}

/*  Fl_Secret_Input.H */


static DaoNumItem dao_Fl_Secret_Input_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Secret_Input_Fl_Secret_Input( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Secret_Input_Meths[] = 
{
  { dao_Fl_Secret_Input_Fl_Secret_Input, "Fl_Secret_Input( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Secret_Input" },
  { NULL, NULL }
};
static void Dao_Fl_Secret_Input_Delete( void *self )
{
	delete (Fl_Secret_Input*) self;
}
void* dao_cast_Fl_Secret_Input_to_Fl_Input( void *data )
{
	return (Fl_Input*)(Fl_Secret_Input*)data;
}

static DaoTypeBase Fl_Secret_Input_Typer = 
{ "Fl_Secret_Input", NULL, 
  dao_Fl_Secret_Input_Nums,
  dao_Fl_Secret_Input_Meths, 
  { dao_Fl_Input_Typer, 0 },
  { dao_cast_Fl_Secret_Input_to_Fl_Input,0 },
  Dao_Fl_Secret_Input_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Secret_Input_Typer = & Fl_Secret_Input_Typer;
/* Fl_Secret_Input.H */
static void dao_Fl_Secret_Input_Fl_Secret_Input( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Secret_Input *_self = DaoCxx_Fl_Secret_Input_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Select_Browser.H */


static DaoNumItem dao_Fl_Select_Browser_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Select_Browser_Fl_Select_Browser( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Select_Browser_Meths[] = 
{
  { dao_Fl_Select_Browser_Fl_Select_Browser, "Fl_Select_Browser( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Select_Browser" },
  { NULL, NULL }
};
static void Dao_Fl_Select_Browser_Delete( void *self )
{
	delete (Fl_Select_Browser*) self;
}
void* dao_cast_Fl_Select_Browser_to_Fl_Browser( void *data )
{
	return (Fl_Browser*)(Fl_Select_Browser*)data;
}

static DaoTypeBase Fl_Select_Browser_Typer = 
{ "Fl_Select_Browser", NULL, 
  dao_Fl_Select_Browser_Nums,
  dao_Fl_Select_Browser_Meths, 
  { dao_Fl_Browser_Typer, 0 },
  { dao_cast_Fl_Select_Browser_to_Fl_Browser,0 },
  Dao_Fl_Select_Browser_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Select_Browser_Typer = & Fl_Select_Browser_Typer;
/* Fl_Select_Browser.H */
static void dao_Fl_Select_Browser_Fl_Select_Browser( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Select_Browser *_self = DaoCxx_Fl_Select_Browser_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Shared_Image.H */


static DaoNumItem dao_Fl_Shared_Image_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Shared_Image_Fl_Shared_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_Fl_Shared_Image_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_color_average__Fl_Shared_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_color_average( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_copy_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_copy__Fl_Shared_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_copy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_desaturate__Fl_Shared_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_desaturate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_draw__Fl_Shared_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_find( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_get( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_num_images( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_refcount( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_release( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_reload( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_uncache__Fl_Shared_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_uncache( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Shared_Image_update( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Shared_Image_Meths[] = 
{
  { dao_Fl_Shared_Image_Fl_Shared_Image, "Fl_Shared_Image(  )=>Fl_Shared_Image" },
  { dao_Fl_Shared_Image_Fl_Shared_Image_dao_2, "Fl_Shared_Image( n : string, img : Fl_Image|null=null )=>Fl_Shared_Image" },
  { dao_Fl_Shared_Image_add, "add( self : Fl_Shared_Image )" },
  { dao_Fl_Shared_Image_color_average, "color_average( self : Fl_Shared_Image, c : int, i : float )" },
  { dao_Fl_Shared_Image_copy_dao_2, "copy( self : Fl_Shared_Image )=>Fl_Image" },
  { dao_Fl_Shared_Image_copy, "copy( self : Fl_Shared_Image, W : int, H : int )=>Fl_Image" },
  { dao_Fl_Shared_Image_desaturate, "desaturate( self : Fl_Shared_Image )" },
  { dao_Fl_Shared_Image_draw_dao_2, "draw( self : Fl_Shared_Image, X : int, Y : int )" },
  { dao_Fl_Shared_Image_draw, "draw( self : Fl_Shared_Image, X : int, Y : int, W : int, H : int, cx : int, cy : int )" },
  { dao_Fl_Shared_Image_find, "find( n : string, W : int = 0, H : int = 0 )=>Fl_Shared_Image" },
  { dao_Fl_Shared_Image_get, "get( n : string, W : int = 0, H : int = 0 )=>Fl_Shared_Image" },
  { dao_Fl_Shared_Image_name, "name( self : Fl_Shared_Image )=>string" },
  { dao_Fl_Shared_Image_num_images, "num_images(  )=>int" },
  { dao_Fl_Shared_Image_refcount, "refcount( self : Fl_Shared_Image )=>int" },
  { dao_Fl_Shared_Image_release, "release( self : Fl_Shared_Image )" },
  { dao_Fl_Shared_Image_reload, "reload( self : Fl_Shared_Image )" },
  { dao_Fl_Shared_Image_uncache, "uncache( self : Fl_Shared_Image )" },
  { dao_Fl_Shared_Image_update, "update( self : Fl_Shared_Image )" },
  { NULL, NULL }
};
void* dao_cast_Fl_Shared_Image_to_Fl_Image( void *data )
{
	return (Fl_Image*)(Fl_Shared_Image*)data;
}

static DaoTypeBase Fl_Shared_Image_Typer = 
{ "Fl_Shared_Image", NULL, 
  dao_Fl_Shared_Image_Nums,
  dao_Fl_Shared_Image_Meths, 
  { dao_Fl_Image_Typer, 0 },
  { dao_cast_Fl_Shared_Image_to_Fl_Image,0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Shared_Image_Typer = & Fl_Shared_Image_Typer;
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_Fl_Shared_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_Fl_Shared_Image *_self = DaoCxx_Fl_Shared_Image_New(  );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_Fl_Shared_Image_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* n= (char*) DValue_GetMBString( _p[0] );
  Fl_Image* img= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
	DaoCxx_Fl_Shared_Image *_self = DaoCxx_Fl_Shared_Image_New( n, img );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_add( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Shared_Image *self = (DaoCxx_Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  self->DaoWrap_add(  );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_color_average__Fl_Shared_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  float i= (float) _p[2]->v.f;
  self->Fl_Shared_Image::color_average( c, i );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_color_average( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Shared_Image_color_average__Fl_Shared_Image( _ctx, _p, _n );
    return;
  }
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  float i= (float) _p[2]->v.f;
  self->color_average( c, i );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_copy_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  Fl_Image* _copy = self->Fl_Shared_Image::copy(  );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_copy__Fl_Shared_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  Fl_Image* _copy = self->Fl_Shared_Image::copy( W, H );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_copy( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Shared_Image_copy__Fl_Shared_Image( _ctx, _p, _n );
    return;
  }
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  Fl_Image* _copy = self->copy( W, H );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_desaturate__Fl_Shared_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  self->Fl_Shared_Image::desaturate(  );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_desaturate( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Shared_Image_desaturate__Fl_Shared_Image( _ctx, _p, _n );
    return;
  }
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  self->desaturate(  );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  self->Fl_Shared_Image::draw( X, Y );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_draw__Fl_Shared_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  int cx= (int) _p[5]->v.i;
  int cy= (int) _p[6]->v.i;
  self->Fl_Shared_Image::draw( X, Y, W, H, cx, cy );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Shared_Image_draw__Fl_Shared_Image( _ctx, _p, _n );
    return;
  }
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  int cx= (int) _p[5]->v.i;
  int cy= (int) _p[6]->v.i;
  self->draw( X, Y, W, H, cx, cy );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_find( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* n= (char*) DValue_GetMBString( _p[0] );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  Fl_Shared_Image* _find = Fl_Shared_Image::find( n, W, H );
  DaoContext_WrapCData( _ctx, (void*) _find, dao_Fl_Shared_Image_Typer );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_get( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* n= (char*) DValue_GetMBString( _p[0] );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  Fl_Shared_Image* _get = Fl_Shared_Image::get( n, W, H );
  DaoContext_WrapCData( _ctx, (void*) _get, dao_Fl_Shared_Image_Typer );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  const char* _name = self->Fl_Shared_Image::name(  );
  DaoContext_PutMBString( _ctx, (char*) _name );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_num_images( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _num_images = Fl_Shared_Image::num_images(  );
  DaoContext_PutInteger( _ctx, (int) _num_images );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_refcount( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  int _refcount = self->Fl_Shared_Image::refcount(  );
  DaoContext_PutInteger( _ctx, (int) _refcount );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_release( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  self->Fl_Shared_Image::release(  );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_reload( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  self->Fl_Shared_Image::reload(  );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_uncache__Fl_Shared_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  self->Fl_Shared_Image::uncache(  );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_uncache( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Shared_Image_uncache__Fl_Shared_Image( _ctx, _p, _n );
    return;
  }
  Fl_Shared_Image* self= (Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  self->uncache(  );
}
/* Fl_Shared_Image.H */
static void dao_Fl_Shared_Image_update( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Shared_Image *self = (DaoCxx_Fl_Shared_Image*) DValue_CastCData( _p[0], dao_Fl_Shared_Image_Typer );
  self->DaoWrap_update(  );
}

/*  Fl_Simple_Counter.H */


static DaoNumItem dao_Fl_Simple_Counter_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Simple_Counter_Fl_Simple_Counter( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Simple_Counter_Meths[] = 
{
  { dao_Fl_Simple_Counter_Fl_Simple_Counter, "Fl_Simple_Counter( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Simple_Counter" },
  { NULL, NULL }
};
static void Dao_Fl_Simple_Counter_Delete( void *self )
{
	delete (Fl_Simple_Counter*) self;
}
void* dao_cast_Fl_Simple_Counter_to_Fl_Counter( void *data )
{
	return (Fl_Counter*)(Fl_Simple_Counter*)data;
}

static DaoTypeBase Fl_Simple_Counter_Typer = 
{ "Fl_Simple_Counter", NULL, 
  dao_Fl_Simple_Counter_Nums,
  dao_Fl_Simple_Counter_Meths, 
  { dao_Fl_Counter_Typer, 0 },
  { dao_cast_Fl_Simple_Counter_to_Fl_Counter,0 },
  Dao_Fl_Simple_Counter_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Simple_Counter_Typer = & Fl_Simple_Counter_Typer;
/* Fl_Simple_Counter.H */
static void dao_Fl_Simple_Counter_Fl_Simple_Counter( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Simple_Counter *_self = DaoCxx_Fl_Simple_Counter_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Spinner.H */


static DaoNumItem dao_Fl_Spinner_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Spinner_Fl_Spinner( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_format( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_format_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_maximum( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_maximum_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_maxinum( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_minimum( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_minimum_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_mininum( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_range( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_step( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_step_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_type( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_type_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Spinner_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Spinner_Meths[] = 
{
  { dao_Fl_Spinner_Fl_Spinner, "Fl_Spinner( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Spinner" },
  { dao_Fl_Spinner_format, "format( self : Fl_Spinner )=>string" },
  { dao_Fl_Spinner_format_dao_2, "format( self : Fl_Spinner, f : string )" },
  { dao_Fl_Spinner_handle, "handle( self : Fl_Spinner, event : int )=>int" },
  { dao_Fl_Spinner_maximum, "maximum( self : Fl_Spinner )=>double" },
  { dao_Fl_Spinner_maximum_dao_2, "maximum( self : Fl_Spinner, m : double )" },
  { dao_Fl_Spinner_maxinum, "maxinum( self : Fl_Spinner )=>double" },
  { dao_Fl_Spinner_minimum, "minimum( self : Fl_Spinner )=>double" },
  { dao_Fl_Spinner_minimum_dao_2, "minimum( self : Fl_Spinner, m : double )" },
  { dao_Fl_Spinner_mininum, "mininum( self : Fl_Spinner )=>double" },
  { dao_Fl_Spinner_range, "range( self : Fl_Spinner, a : double, b : double )" },
  { dao_Fl_Spinner_resize, "resize( self : Fl_Spinner, X : int, Y : int, W : int, H : int )" },
  { dao_Fl_Spinner_step, "step( self : Fl_Spinner )=>double" },
  { dao_Fl_Spinner_step_dao_2, "step( self : Fl_Spinner, s : double )" },
  { dao_Fl_Spinner_textcolor, "textcolor( self : Fl_Spinner )=>int" },
  { dao_Fl_Spinner_textcolor_dao_2, "textcolor( self : Fl_Spinner, c : int )" },
  { dao_Fl_Spinner_textfont, "textfont( self : Fl_Spinner )=>int" },
  { dao_Fl_Spinner_textfont_dao_2, "textfont( self : Fl_Spinner, f : int )" },
  { dao_Fl_Spinner_textsize, "textsize( self : Fl_Spinner )=>int" },
  { dao_Fl_Spinner_textsize_dao_2, "textsize( self : Fl_Spinner, s : int )" },
  { dao_Fl_Spinner_type, "type( self : Fl_Spinner )=>int" },
  { dao_Fl_Spinner_type_dao_2, "type( self : Fl_Spinner, v : int )" },
  { dao_Fl_Spinner_value, "value( self : Fl_Spinner )=>double" },
  { dao_Fl_Spinner_value_dao_2, "value( self : Fl_Spinner, v : double )" },
  { NULL, NULL }
};
static void Dao_Fl_Spinner_Delete( void *self )
{
	delete (Fl_Spinner*) self;
}
void* dao_cast_Fl_Spinner_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Spinner*)data;
}

static DaoTypeBase Fl_Spinner_Typer = 
{ "Fl_Spinner", NULL, 
  dao_Fl_Spinner_Nums,
  dao_Fl_Spinner_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Spinner_to_Fl_Group,0 },
  Dao_Fl_Spinner_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Spinner_Typer = & Fl_Spinner_Typer;
/* Fl_Spinner.H */
static void dao_Fl_Spinner_Fl_Spinner( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Spinner *_self = DaoCxx_Fl_Spinner_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_format( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  const char* _format = self->Fl_Spinner::format(  );
  DaoContext_PutMBString( _ctx, (char*) _format );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_format_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  char* f= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Spinner::format( f );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  int event= (int) _p[1]->v.i;
  int _handle = self->Fl_Spinner::handle( event );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_maximum( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  double _maximum = self->Fl_Spinner::maximum(  );
  DaoContext_PutDouble( _ctx, (double) _maximum );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_maximum_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  double m= (double) _p[1]->v.d;
  self->Fl_Spinner::maximum( m );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_maxinum( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  double _maxinum = self->Fl_Spinner::maxinum(  );
  DaoContext_PutDouble( _ctx, (double) _maxinum );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_minimum( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  double _minimum = self->Fl_Spinner::minimum(  );
  DaoContext_PutDouble( _ctx, (double) _minimum );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_minimum_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  double m= (double) _p[1]->v.d;
  self->Fl_Spinner::minimum( m );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_mininum( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  double _mininum = self->Fl_Spinner::mininum(  );
  DaoContext_PutDouble( _ctx, (double) _mininum );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_range( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  double a= (double) _p[1]->v.d;
  double b= (double) _p[2]->v.d;
  self->Fl_Spinner::range( a, b );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  self->Fl_Spinner::resize( X, Y, W, H );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_step( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  double _step = self->Fl_Spinner::step(  );
  DaoContext_PutDouble( _ctx, (double) _step );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_step_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  double s= (double) _p[1]->v.d;
  self->Fl_Spinner::step( s );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  Fl_Color _textcolor = self->Fl_Spinner::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  self->Fl_Spinner::textcolor( c );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  Fl_Font _textfont = self->Fl_Spinner::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  Fl_Font f= (Fl_Font) _p[1]->v.i;
  self->Fl_Spinner::textfont( f );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  Fl_Fontsize _textsize = self->Fl_Spinner::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Spinner::textsize( s );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  uchar _type = self->Fl_Spinner::type(  );
  DaoContext_PutInteger( _ctx, (int) _type );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_type_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  uchar v= (uchar) _p[1]->v.i;
  self->Fl_Spinner::type( v );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  double _value = self->Fl_Spinner::value(  );
  DaoContext_PutDouble( _ctx, (double) _value );
}
/* Fl_Spinner.H */
static void dao_Fl_Spinner_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Spinner* self= (Fl_Spinner*) DValue_CastCData( _p[0], dao_Fl_Spinner_Typer );
  double v= (double) _p[1]->v.d;
  self->Fl_Spinner::value( v );
}

/*  Fl_Table.H */


static DaoNumItem dao_Fl_Table_Nums[] =
{
  { "CONTEXT_NONE", DAO_INTEGER, Fl_Table::CONTEXT_NONE },
  { "CONTEXT_STARTPAGE", DAO_INTEGER, Fl_Table::CONTEXT_STARTPAGE },
  { "CONTEXT_ENDPAGE", DAO_INTEGER, Fl_Table::CONTEXT_ENDPAGE },
  { "CONTEXT_ROW_HEADER", DAO_INTEGER, Fl_Table::CONTEXT_ROW_HEADER },
  { "CONTEXT_COL_HEADER", DAO_INTEGER, Fl_Table::CONTEXT_COL_HEADER },
  { "CONTEXT_CELL", DAO_INTEGER, Fl_Table::CONTEXT_CELL },
  { "CONTEXT_TABLE", DAO_INTEGER, Fl_Table::CONTEXT_TABLE },
  { "CONTEXT_RC_RESIZE", DAO_INTEGER, Fl_Table::CONTEXT_RC_RESIZE },
  { NULL, 0, 0 }
};
static void dao_Fl_Table_Fl_Table( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_add_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_begin( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_callback_col( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_callback_context( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_callback_row( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_change_cursor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_child( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_children( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_clear__Fl_Table( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_header( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_header_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_header_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_header_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_header_height_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_header_height( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_resize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_resize_min( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_resize_min_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_scroll_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_width_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_width( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_col_width_all( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_cols_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_cols__Fl_Table( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_cols( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_damage_zone( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_do_callback( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_draw_cell( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_find_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_find( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_find_cell( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_get_bounds( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_get_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_init_sizes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_insert_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_is_fltk_container( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_is_interactive_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_is_selected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_move_cursor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_recalc_dimensions( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_redraw_range( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_col_clamp( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_header( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_header_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_header_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_header_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_header_width_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_header_width( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_height_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_height( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_height_all( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_resize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_resize_min( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_resize_min_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_row_scroll_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_rows_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_rows__Fl_Table( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_rows( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_set_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_table_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_table_box( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_table_resized( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_table_scrolled( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_top_row_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_top_row( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_visible_cells( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Table_Meths[] = 
{
  { dao_Fl_Table_Fl_Table, "Fl_Table( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Table" },
  { dao_Fl_Table_add, "add( self : Fl_Table, w : Fl_Widget )" },
  { dao_Fl_Table_add_dao_2, "add( self : Fl_Table, w : Fl_Widget )" },
  { dao_Fl_Table_begin, "begin( self : Fl_Table )" },
  { dao_Fl_Table_callback_col, "callback_col( self : Fl_Table )=>int" },
  { dao_Fl_Table_callback_context, "callback_context( self : Fl_Table )=>int" },
  { dao_Fl_Table_callback_row, "callback_row( self : Fl_Table )=>int" },
  { dao_Fl_Table_change_cursor, "change_cursor( self : Fl_Table, newcursor : int )" },
  { dao_Fl_Table_child, "child( self : Fl_Table, n : int )=>Fl_Widget" },
  { dao_Fl_Table_children, "children( self : Fl_Table )=>int" },
  { dao_Fl_Table_clear, "clear( self : Fl_Table )" },
  { dao_Fl_Table_col_header, "col_header( self : Fl_Table )=>int" },
  { dao_Fl_Table_col_header_dao_2, "col_header( self : Fl_Table, flag : int )" },
  { dao_Fl_Table_col_header_color_dao_2, "col_header_color( self : Fl_Table )=>int" },
  { dao_Fl_Table_col_header_color, "col_header_color( self : Fl_Table, val : int )" },
  { dao_Fl_Table_col_header_height_dao_2, "col_header_height( self : Fl_Table )=>int" },
  { dao_Fl_Table_col_header_height, "col_header_height( self : Fl_Table, height : int )" },
  { dao_Fl_Table_col_position_dao_2, "col_position( self : Fl_Table )=>int" },
  { dao_Fl_Table_col_position, "col_position( self : Fl_Table, col : int )" },
  { dao_Fl_Table_col_resize, "col_resize( self : Fl_Table )=>int" },
  { dao_Fl_Table_col_resize_dao_2, "col_resize( self : Fl_Table, flag : int )" },
  { dao_Fl_Table_col_resize_min, "col_resize_min( self : Fl_Table )=>int" },
  { dao_Fl_Table_col_resize_min_dao_2, "col_resize_min( self : Fl_Table, val : int )" },
  { dao_Fl_Table_col_scroll_position, "col_scroll_position( self : Fl_Table, col : int )=>int" },
  { dao_Fl_Table_col_width_dao_2, "col_width( self : Fl_Table, col : int )=>int" },
  { dao_Fl_Table_col_width, "col_width( self : Fl_Table, col : int, width : int )" },
  { dao_Fl_Table_col_width_all, "col_width_all( self : Fl_Table, width : int )" },
  { dao_Fl_Table_cols_dao_2, "cols( self : Fl_Table )=>int" },
  { dao_Fl_Table_cols, "cols( self : Fl_Table, val : int )" },
  { dao_Fl_Table_damage_zone, "damage_zone( self : Fl_Table, r1 : int, c1 : int, r2 : int, c2 : int, r3 : int = 0, c3 : int = 0 )" },
  { dao_Fl_Table_do_callback, "do_callback( self : Fl_Table, context : int, row : int, col : int )" },
  { dao_Fl_Table_draw, "draw( self : Fl_Table )" },
  { dao_Fl_Table_draw_cell, "draw_cell( self : Fl_Table, context : int, R : int=0, C : int=0, X : int=0, Y : int=0, W : int=0, H : int=0 )" },
  { dao_Fl_Table_end, "end( self : Fl_Table )" },
  { dao_Fl_Table_find_dao_2, "find( self : Fl_Table, w : Fl_Widget )=>int" },
  { dao_Fl_Table_find, "find( self : Fl_Table, w : Fl_Widget )=>int" },
  { dao_Fl_Table_find_cell, "find_cell( self : Fl_Table, context : int, R : int, C : int, X : int, Y : int, W : int, H : int )=>int" },
  { dao_Fl_Table_get_bounds, "get_bounds( self : Fl_Table, context : int, X : int, Y : int, W : int, H : int )" },
  { dao_Fl_Table_get_selection, "get_selection( self : Fl_Table, s_top : int, s_left : int, s_bottom : int, s_right : int )" },
  { dao_Fl_Table_handle, "handle( self : Fl_Table, e : int )=>int" },
  { dao_Fl_Table_init_sizes, "init_sizes( self : Fl_Table )" },
  { dao_Fl_Table_insert_dao_2, "insert( self : Fl_Table, w : Fl_Widget, w2 : Fl_Widget )" },
  { dao_Fl_Table_insert, "insert( self : Fl_Table, w : Fl_Widget, n : int )" },
  { dao_Fl_Table_is_fltk_container, "is_fltk_container( self : Fl_Table )=>int" },
  { dao_Fl_Table_is_interactive_resize, "is_interactive_resize( self : Fl_Table )=>int" },
  { dao_Fl_Table_is_selected, "is_selected( self : Fl_Table, r : int, c : int )=>int" },
  { dao_Fl_Table_move_cursor, "move_cursor( self : Fl_Table, R : int, C : int )=>int" },
  { dao_Fl_Table_recalc_dimensions, "recalc_dimensions( self : Fl_Table )" },
  { dao_Fl_Table_redraw_range, "redraw_range( self : Fl_Table, toprow : int, botrow : int, leftcol : int, rightcol : int )" },
  { dao_Fl_Table_remove, "remove( self : Fl_Table, w : Fl_Widget )" },
  { dao_Fl_Table_resize, "resize( self : Fl_Table, X : int, Y : int, W : int, H : int )" },
  { dao_Fl_Table_row_col_clamp, "row_col_clamp( self : Fl_Table, context : int, R : int, C : int )=>int" },
  { dao_Fl_Table_row_header, "row_header( self : Fl_Table )=>int" },
  { dao_Fl_Table_row_header_dao_2, "row_header( self : Fl_Table, flag : int )" },
  { dao_Fl_Table_row_header_color_dao_2, "row_header_color( self : Fl_Table )=>int" },
  { dao_Fl_Table_row_header_color, "row_header_color( self : Fl_Table, val : int )" },
  { dao_Fl_Table_row_header_width_dao_2, "row_header_width( self : Fl_Table )=>int" },
  { dao_Fl_Table_row_header_width, "row_header_width( self : Fl_Table, width : int )" },
  { dao_Fl_Table_row_height_dao_2, "row_height( self : Fl_Table, row : int )=>int" },
  { dao_Fl_Table_row_height, "row_height( self : Fl_Table, row : int, height : int )" },
  { dao_Fl_Table_row_height_all, "row_height_all( self : Fl_Table, height : int )" },
  { dao_Fl_Table_row_position_dao_2, "row_position( self : Fl_Table )=>int" },
  { dao_Fl_Table_row_position, "row_position( self : Fl_Table, row : int )" },
  { dao_Fl_Table_row_resize, "row_resize( self : Fl_Table )=>int" },
  { dao_Fl_Table_row_resize_dao_2, "row_resize( self : Fl_Table, flag : int )" },
  { dao_Fl_Table_row_resize_min, "row_resize_min( self : Fl_Table )=>int" },
  { dao_Fl_Table_row_resize_min_dao_2, "row_resize_min( self : Fl_Table, val : int )" },
  { dao_Fl_Table_row_scroll_position, "row_scroll_position( self : Fl_Table, row : int )=>int" },
  { dao_Fl_Table_rows_dao_2, "rows( self : Fl_Table )=>int" },
  { dao_Fl_Table_rows, "rows( self : Fl_Table, val : int )" },
  { dao_Fl_Table_set_selection, "set_selection( self : Fl_Table, s_top : int, s_left : int, s_bottom : int, s_right : int )" },
  { dao_Fl_Table_table_box_dao_2, "table_box( self : Fl_Table )=>int" },
  { dao_Fl_Table_table_box, "table_box( self : Fl_Table, val : int )" },
  { dao_Fl_Table_table_resized, "table_resized( self : Fl_Table )" },
  { dao_Fl_Table_table_scrolled, "table_scrolled( self : Fl_Table )" },
  { dao_Fl_Table_top_row_dao_2, "top_row( self : Fl_Table )=>int" },
  { dao_Fl_Table_top_row, "top_row( self : Fl_Table, row : int )" },
  { dao_Fl_Table_visible_cells, "visible_cells( self : Fl_Table, r1 : int, r2 : int, c1 : int, c2 : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Table_Delete( void *self )
{
	delete (Fl_Table*) self;
}
void* dao_cast_Fl_Table_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Table*)data;
}

static DaoTypeBase Fl_Table_Typer = 
{ "Fl_Table", NULL, 
  dao_Fl_Table_Nums,
  dao_Fl_Table_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Table_to_Fl_Group,0 },
  Dao_Fl_Table_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Table_Typer = & Fl_Table_Typer;
/* Fl_Table.H */
static void dao_Fl_Table_Fl_Table( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Table *_self = DaoCxx_Fl_Table_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Table.H */
static void dao_Fl_Table_add( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Table::add( *w );
}
/* Fl_Table.H */
static void dao_Fl_Table_add_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Table::add( w );
}
/* Fl_Table.H */
static void dao_Fl_Table_begin( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  self->Fl_Table::begin(  );
}
/* Fl_Table.H */
static void dao_Fl_Table_callback_col( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _callback_col = self->Fl_Table::callback_col(  );
  DaoContext_PutInteger( _ctx, (int) _callback_col );
}
/* Fl_Table.H */
static void dao_Fl_Table_callback_context( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Table::TableContext _callback_context = self->Fl_Table::callback_context(  );
  DaoContext_PutInteger( _ctx, (int) _callback_context );
}
/* Fl_Table.H */
static void dao_Fl_Table_callback_row( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _callback_row = self->Fl_Table::callback_row(  );
  DaoContext_PutInteger( _ctx, (int) _callback_row );
}
/* Fl_Table.H */
static void dao_Fl_Table_change_cursor( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Cursor newcursor= (Fl_Cursor) _p[1]->v.i;
  self->DaoWrap_change_cursor( newcursor );
}
/* Fl_Table.H */
static void dao_Fl_Table_child( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int n= (int) _p[1]->v.i;
  Fl_Widget* _child = self->Fl_Table::child( n );
  DaoContext_WrapCData( _ctx, (void*) _child, dao_Fl_Widget_Typer );
}
/* Fl_Table.H */
static void dao_Fl_Table_children( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _children = self->Fl_Table::children(  );
  DaoContext_PutInteger( _ctx, (int) _children );
}
/* Fl_Table.H */
static void dao_Fl_Table_clear__Fl_Table( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  self->Fl_Table::clear(  );
}
/* Fl_Table.H */
static void dao_Fl_Table_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Table_clear__Fl_Table( _ctx, _p, _n );
    return;
  }
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  self->clear(  );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_header( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _col_header = self->Fl_Table::col_header(  );
  DaoContext_PutInteger( _ctx, (int) _col_header );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_header_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int flag= (int) _p[1]->v.i;
  self->Fl_Table::col_header( flag );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_header_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Color _col_header_color = self->Fl_Table::col_header_color(  );
  DaoContext_PutInteger( _ctx, (int) _col_header_color );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_header_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Color val= (Fl_Color) _p[1]->v.i;
  self->Fl_Table::col_header_color( val );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_header_height_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _col_header_height = self->Fl_Table::col_header_height(  );
  DaoContext_PutInteger( _ctx, (int) _col_header_height );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_header_height( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int height= (int) _p[1]->v.i;
  self->Fl_Table::col_header_height( height );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _col_position = self->Fl_Table::col_position(  );
  DaoContext_PutInteger( _ctx, (int) _col_position );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int col= (int) _p[1]->v.i;
  self->Fl_Table::col_position( col );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _col_resize = self->Fl_Table::col_resize(  );
  DaoContext_PutInteger( _ctx, (int) _col_resize );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_resize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int flag= (int) _p[1]->v.i;
  self->Fl_Table::col_resize( flag );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_resize_min( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _col_resize_min = self->Fl_Table::col_resize_min(  );
  DaoContext_PutInteger( _ctx, (int) _col_resize_min );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_resize_min_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Table::col_resize_min( val );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_scroll_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int col= (int) _p[1]->v.i;
  long _col_scroll_position = self->DaoWrap_col_scroll_position( col );
  DaoContext_PutInteger( _ctx, (int) _col_scroll_position );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_width_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int col= (int) _p[1]->v.i;
  int _col_width = self->Fl_Table::col_width( col );
  DaoContext_PutInteger( _ctx, (int) _col_width );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_width( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int col= (int) _p[1]->v.i;
  int width= (int) _p[2]->v.i;
  self->Fl_Table::col_width( col, width );
}
/* Fl_Table.H */
static void dao_Fl_Table_col_width_all( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int width= (int) _p[1]->v.i;
  self->Fl_Table::col_width_all( width );
}
/* Fl_Table.H */
static void dao_Fl_Table_cols_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _cols = self->Fl_Table::cols(  );
  DaoContext_PutInteger( _ctx, (int) _cols );
}
/* Fl_Table.H */
static void dao_Fl_Table_cols__Fl_Table( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Table::cols( val );
}
/* Fl_Table.H */
static void dao_Fl_Table_cols( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Table_cols__Fl_Table( _ctx, _p, _n );
    return;
  }
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int val= (int) _p[1]->v.i;
  self->cols( val );
}
/* Fl_Table.H */
static void dao_Fl_Table_damage_zone( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int r1= (int) _p[1]->v.i;
  int c1= (int) _p[2]->v.i;
  int r2= (int) _p[3]->v.i;
  int c2= (int) _p[4]->v.i;
  int r3= (int) _p[5]->v.i;
  int c3= (int) _p[6]->v.i;
  self->DaoWrap_damage_zone( r1, c1, r2, c2, r3, c3 );
}
/* Fl_Table.H */
static void dao_Fl_Table_do_callback( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Table::TableContext context= (Fl_Table::TableContext) _p[1]->v.i;
  int row= (int) _p[2]->v.i;
  int col= (int) _p[3]->v.i;
  self->Fl_Table::do_callback( context, row, col );
}
/* Fl_Table.H */
static void dao_Fl_Table_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  self->Fl_Table::draw(  );
}
/* Fl_Table.H */
static void dao_Fl_Table_draw_cell( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Table::TableContext context= (Fl_Table::TableContext) _p[1]->v.i;
  int R= (int) _p[2]->v.i;
  int C= (int) _p[3]->v.i;
  int X= (int) _p[4]->v.i;
  int Y= (int) _p[5]->v.i;
  int W= (int) _p[6]->v.i;
  int H= (int) _p[7]->v.i;
  self->DaoWrap_draw_cell( context, R, C, X, Y, W, H );
}
/* Fl_Table.H */
static void dao_Fl_Table_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  self->Fl_Table::end(  );
}
/* Fl_Table.H */
static void dao_Fl_Table_find_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int _find = self->Fl_Table::find( *w );
  DaoContext_PutInteger( _ctx, (int) _find );
}
/* Fl_Table.H */
static void dao_Fl_Table_find( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int _find = self->Fl_Table::find( w );
  DaoContext_PutInteger( _ctx, (int) _find );
}
/* Fl_Table.H */
static void dao_Fl_Table_find_cell( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Table::TableContext context= (Fl_Table::TableContext) _p[1]->v.i;
  int R= (int) _p[2]->v.i;
  int C= (int) _p[3]->v.i;
  int X= (int) _p[4]->v.i;
  int Y= (int) _p[5]->v.i;
  int W= (int) _p[6]->v.i;
  int H= (int) _p[7]->v.i;
  int _find_cell = self->DaoWrap_find_cell( context, R, C, X, Y, W, H );
  _p[4]->v.i = (int) X;
  _p[5]->v.i = (int) Y;
  _p[6]->v.i = (int) W;
  _p[7]->v.i = (int) H;
  DaoContext_PutInteger( _ctx, (int) _find_cell );
}
/* Fl_Table.H */
static void dao_Fl_Table_get_bounds( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Table::TableContext context= (Fl_Table::TableContext) _p[1]->v.i;
  int X= (int) _p[2]->v.i;
  int Y= (int) _p[3]->v.i;
  int W= (int) _p[4]->v.i;
  int H= (int) _p[5]->v.i;
  self->DaoWrap_get_bounds( context, X, Y, W, H );
  _p[2]->v.i = (int) X;
  _p[3]->v.i = (int) Y;
  _p[4]->v.i = (int) W;
  _p[5]->v.i = (int) H;
}
/* Fl_Table.H */
static void dao_Fl_Table_get_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int s_top= (int) _p[1]->v.i;
  int s_left= (int) _p[2]->v.i;
  int s_bottom= (int) _p[3]->v.i;
  int s_right= (int) _p[4]->v.i;
  self->Fl_Table::get_selection( s_top, s_left, s_bottom, s_right );
  _p[1]->v.i = (int) s_top;
  _p[2]->v.i = (int) s_left;
  _p[3]->v.i = (int) s_bottom;
  _p[4]->v.i = (int) s_right;
}
/* Fl_Table.H */
static void dao_Fl_Table_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int e= (int) _p[1]->v.i;
  int _handle = self->DaoWrap_handle( e );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Table.H */
static void dao_Fl_Table_init_sizes( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  self->Fl_Table::init_sizes(  );
}
/* Fl_Table.H */
static void dao_Fl_Table_insert_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  Fl_Widget* w2= (Fl_Widget*) DValue_CastCData( _p[2], dao_Fl_Widget_Typer );
  self->Fl_Table::insert( *w, w2 );
}
/* Fl_Table.H */
static void dao_Fl_Table_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int n= (int) _p[2]->v.i;
  self->Fl_Table::insert( *w, n );
}
/* Fl_Table.H */
static void dao_Fl_Table_is_fltk_container( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _is_fltk_container = self->DaoWrap_is_fltk_container(  );
  DaoContext_PutInteger( _ctx, (int) _is_fltk_container );
}
/* Fl_Table.H */
static void dao_Fl_Table_is_interactive_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _is_interactive_resize = self->Fl_Table::is_interactive_resize(  );
  DaoContext_PutInteger( _ctx, (int) _is_interactive_resize );
}
/* Fl_Table.H */
static void dao_Fl_Table_is_selected( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int r= (int) _p[1]->v.i;
  int c= (int) _p[2]->v.i;
  int _is_selected = self->Fl_Table::is_selected( r, c );
  DaoContext_PutInteger( _ctx, (int) _is_selected );
}
/* Fl_Table.H */
static void dao_Fl_Table_move_cursor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int R= (int) _p[1]->v.i;
  int C= (int) _p[2]->v.i;
  int _move_cursor = self->Fl_Table::move_cursor( R, C );
  DaoContext_PutInteger( _ctx, (int) _move_cursor );
}
/* Fl_Table.H */
static void dao_Fl_Table_recalc_dimensions( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  self->DaoWrap_recalc_dimensions(  );
}
/* Fl_Table.H */
static void dao_Fl_Table_redraw_range( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int toprow= (int) _p[1]->v.i;
  int botrow= (int) _p[2]->v.i;
  int leftcol= (int) _p[3]->v.i;
  int rightcol= (int) _p[4]->v.i;
  self->DaoWrap_redraw_range( toprow, botrow, leftcol, rightcol );
}
/* Fl_Table.H */
static void dao_Fl_Table_remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Table::remove( *w );
}
/* Fl_Table.H */
static void dao_Fl_Table_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  self->Fl_Table::resize( X, Y, W, H );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_col_clamp( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Table::TableContext context= (Fl_Table::TableContext) _p[1]->v.i;
  int R= (int) _p[2]->v.i;
  int C= (int) _p[3]->v.i;
  int _row_col_clamp = self->DaoWrap_row_col_clamp( context, R, C );
  _p[2]->v.i = (int) R;
  _p[3]->v.i = (int) C;
  DaoContext_PutInteger( _ctx, (int) _row_col_clamp );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_header( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _row_header = self->Fl_Table::row_header(  );
  DaoContext_PutInteger( _ctx, (int) _row_header );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_header_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int flag= (int) _p[1]->v.i;
  self->Fl_Table::row_header( flag );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_header_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Color _row_header_color = self->Fl_Table::row_header_color(  );
  DaoContext_PutInteger( _ctx, (int) _row_header_color );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_header_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Color val= (Fl_Color) _p[1]->v.i;
  self->Fl_Table::row_header_color( val );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_header_width_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _row_header_width = self->Fl_Table::row_header_width(  );
  DaoContext_PutInteger( _ctx, (int) _row_header_width );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_header_width( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int width= (int) _p[1]->v.i;
  self->Fl_Table::row_header_width( width );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_height_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int row= (int) _p[1]->v.i;
  int _row_height = self->Fl_Table::row_height( row );
  DaoContext_PutInteger( _ctx, (int) _row_height );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_height( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int row= (int) _p[1]->v.i;
  int height= (int) _p[2]->v.i;
  self->Fl_Table::row_height( row, height );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_height_all( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int height= (int) _p[1]->v.i;
  self->Fl_Table::row_height_all( height );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _row_position = self->Fl_Table::row_position(  );
  DaoContext_PutInteger( _ctx, (int) _row_position );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int row= (int) _p[1]->v.i;
  self->Fl_Table::row_position( row );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _row_resize = self->Fl_Table::row_resize(  );
  DaoContext_PutInteger( _ctx, (int) _row_resize );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_resize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int flag= (int) _p[1]->v.i;
  self->Fl_Table::row_resize( flag );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_resize_min( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _row_resize_min = self->Fl_Table::row_resize_min(  );
  DaoContext_PutInteger( _ctx, (int) _row_resize_min );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_resize_min_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Table::row_resize_min( val );
}
/* Fl_Table.H */
static void dao_Fl_Table_row_scroll_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int row= (int) _p[1]->v.i;
  long _row_scroll_position = self->DaoWrap_row_scroll_position( row );
  DaoContext_PutInteger( _ctx, (int) _row_scroll_position );
}
/* Fl_Table.H */
static void dao_Fl_Table_rows_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _rows = self->Fl_Table::rows(  );
  DaoContext_PutInteger( _ctx, (int) _rows );
}
/* Fl_Table.H */
static void dao_Fl_Table_rows__Fl_Table( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Table::rows( val );
}
/* Fl_Table.H */
static void dao_Fl_Table_rows( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Table_rows__Fl_Table( _ctx, _p, _n );
    return;
  }
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int val= (int) _p[1]->v.i;
  self->rows( val );
}
/* Fl_Table.H */
static void dao_Fl_Table_set_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int s_top= (int) _p[1]->v.i;
  int s_left= (int) _p[2]->v.i;
  int s_bottom= (int) _p[3]->v.i;
  int s_right= (int) _p[4]->v.i;
  self->Fl_Table::set_selection( s_top, s_left, s_bottom, s_right );
}
/* Fl_Table.H */
static void dao_Fl_Table_table_box_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Boxtype _table_box = self->Fl_Table::table_box(  );
  DaoContext_PutInteger( _ctx, (int) _table_box );
}
/* Fl_Table.H */
static void dao_Fl_Table_table_box( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  Fl_Boxtype val= (Fl_Boxtype) _p[1]->v.i;
  self->Fl_Table::table_box( val );
}
/* Fl_Table.H */
static void dao_Fl_Table_table_resized( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  self->DaoWrap_table_resized(  );
}
/* Fl_Table.H */
static void dao_Fl_Table_table_scrolled( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table *self = (DaoCxx_Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  self->DaoWrap_table_scrolled(  );
}
/* Fl_Table.H */
static void dao_Fl_Table_top_row_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int _top_row = self->Fl_Table::top_row(  );
  DaoContext_PutInteger( _ctx, (int) _top_row );
}
/* Fl_Table.H */
static void dao_Fl_Table_top_row( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int row= (int) _p[1]->v.i;
  self->Fl_Table::top_row( row );
}
/* Fl_Table.H */
static void dao_Fl_Table_visible_cells( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table* self= (Fl_Table*) DValue_CastCData( _p[0], dao_Fl_Table_Typer );
  int r1= (int) _p[1]->v.i;
  int r2= (int) _p[2]->v.i;
  int c1= (int) _p[3]->v.i;
  int c2= (int) _p[4]->v.i;
  self->Fl_Table::visible_cells( r1, r2, c1, c2 );
  _p[1]->v.i = (int) r1;
  _p[2]->v.i = (int) r2;
  _p[3]->v.i = (int) c1;
  _p[4]->v.i = (int) c2;
}

/*  Fl_Table.H */


static DaoNumItem dao_Fl_Table_IntVector_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Table_IntVector_Meths[] = 
{
  { NULL, NULL }
};

static DaoTypeBase Fl_Table_IntVector_Typer = 
{ "Fl_Table_IntVector", NULL, 
  dao_Fl_Table_IntVector_Nums,
  dao_Fl_Table_IntVector_Meths, 
  { 0 },
  { 0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Table_IntVector_Typer = & Fl_Table_IntVector_Typer;

/*  Fl_Table_Row.H */


static DaoNumItem dao_Fl_Table_Row_Nums[] =
{
  { "SELECT_NONE", DAO_INTEGER, Fl_Table_Row::SELECT_NONE },
  { "SELECT_SINGLE", DAO_INTEGER, Fl_Table_Row::SELECT_SINGLE },
  { "SELECT_MULTI", DAO_INTEGER, Fl_Table_Row::SELECT_MULTI },
  { NULL, 0, 0 }
};
static void dao_Fl_Table_Row_Fl_Table_Row( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_Row_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_Row_find_cell( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_Row_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_Row_row_selected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_Row_rows_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_Row_rows( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_Row_select_all_rows( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_Row_select_row( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_Row_type_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Table_Row_type( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Table_Row_Meths[] = 
{
  { dao_Fl_Table_Row_Fl_Table_Row, "Fl_Table_Row( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Table_Row" },
  { dao_Fl_Table_Row_clear, "clear( self : Fl_Table_Row )" },
  { dao_Fl_Table_Row_find_cell, "find_cell( self : Fl_Table_Row, context : int, R : int, C : int, X : int, Y : int, W : int, H : int )=>int" },
  { dao_Fl_Table_Row_handle, "handle( self : Fl_Table_Row, event : int )=>int" },
  { dao_Fl_Table_Row_row_selected, "row_selected( self : Fl_Table_Row, row : int )=>int" },
  { dao_Fl_Table_Row_rows_dao_2, "rows( self : Fl_Table_Row )=>int" },
  { dao_Fl_Table_Row_rows, "rows( self : Fl_Table_Row, val : int )" },
  { dao_Fl_Table_Row_select_all_rows, "select_all_rows( self : Fl_Table_Row, flag : int=1 )" },
  { dao_Fl_Table_Row_select_row, "select_row( self : Fl_Table_Row, row : int, flag : int=1 )=>int" },
  { dao_Fl_Table_Row_type_dao_2, "type( self : Fl_Table_Row )=>int" },
  { dao_Fl_Table_Row_type, "type( self : Fl_Table_Row, val : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Table_Row_Delete( void *self )
{
	delete (Fl_Table_Row*) self;
}
void* dao_cast_Fl_Table_Row_to_Fl_Table( void *data )
{
	return (Fl_Table*)(Fl_Table_Row*)data;
}

static DaoTypeBase Fl_Table_Row_Typer = 
{ "Fl_Table_Row", NULL, 
  dao_Fl_Table_Row_Nums,
  dao_Fl_Table_Row_Meths, 
  { dao_Fl_Table_Typer, 0 },
  { dao_cast_Fl_Table_Row_to_Fl_Table,0 },
  Dao_Fl_Table_Row_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Table_Row_Typer = & Fl_Table_Row_Typer;
/* Fl_Table_Row.H */
static void dao_Fl_Table_Row_Fl_Table_Row( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Table_Row *_self = DaoCxx_Fl_Table_Row_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Table_Row.H */
static void dao_Fl_Table_Row_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table_Row* self= (Fl_Table_Row*) DValue_CastCData( _p[0], dao_Fl_Table_Row_Typer );
  self->Fl_Table_Row::clear(  );
}
/* Fl_Table_Row.H */
static void dao_Fl_Table_Row_find_cell( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table_Row *self = (DaoCxx_Fl_Table_Row*) DValue_CastCData( _p[0], dao_Fl_Table_Row_Typer );
  Fl_Table::TableContext context= (Fl_Table::TableContext) _p[1]->v.i;
  int R= (int) _p[2]->v.i;
  int C= (int) _p[3]->v.i;
  int X= (int) _p[4]->v.i;
  int Y= (int) _p[5]->v.i;
  int W= (int) _p[6]->v.i;
  int H= (int) _p[7]->v.i;
  int _find_cell = self->DaoWrap_find_cell( context, R, C, X, Y, W, H );
  _p[4]->v.i = (int) X;
  _p[5]->v.i = (int) Y;
  _p[6]->v.i = (int) W;
  _p[7]->v.i = (int) H;
  DaoContext_PutInteger( _ctx, (int) _find_cell );
}
/* Fl_Table_Row.H */
static void dao_Fl_Table_Row_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Table_Row *self = (DaoCxx_Fl_Table_Row*) DValue_CastCData( _p[0], dao_Fl_Table_Row_Typer );
  int event= (int) _p[1]->v.i;
  int _handle = self->DaoWrap_handle( event );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Table_Row.H */
static void dao_Fl_Table_Row_row_selected( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table_Row* self= (Fl_Table_Row*) DValue_CastCData( _p[0], dao_Fl_Table_Row_Typer );
  int row= (int) _p[1]->v.i;
  int _row_selected = self->Fl_Table_Row::row_selected( row );
  DaoContext_PutInteger( _ctx, (int) _row_selected );
}
/* Fl_Table_Row.H */
static void dao_Fl_Table_Row_rows_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table_Row* self= (Fl_Table_Row*) DValue_CastCData( _p[0], dao_Fl_Table_Row_Typer );
  int _rows = self->Fl_Table_Row::rows(  );
  DaoContext_PutInteger( _ctx, (int) _rows );
}
/* Fl_Table_Row.H */
static void dao_Fl_Table_Row_rows( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table_Row* self= (Fl_Table_Row*) DValue_CastCData( _p[0], dao_Fl_Table_Row_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Table_Row::rows( val );
}
/* Fl_Table_Row.H */
static void dao_Fl_Table_Row_select_all_rows( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table_Row* self= (Fl_Table_Row*) DValue_CastCData( _p[0], dao_Fl_Table_Row_Typer );
  int flag= (int) _p[1]->v.i;
  self->Fl_Table_Row::select_all_rows( flag );
}
/* Fl_Table_Row.H */
static void dao_Fl_Table_Row_select_row( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table_Row* self= (Fl_Table_Row*) DValue_CastCData( _p[0], dao_Fl_Table_Row_Typer );
  int row= (int) _p[1]->v.i;
  int flag= (int) _p[2]->v.i;
  int _select_row = self->Fl_Table_Row::select_row( row, flag );
  DaoContext_PutInteger( _ctx, (int) _select_row );
}
/* Fl_Table_Row.H */
static void dao_Fl_Table_Row_type_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table_Row* self= (Fl_Table_Row*) DValue_CastCData( _p[0], dao_Fl_Table_Row_Typer );
  Fl_Table_Row::TableRowSelectMode _type = self->Fl_Table_Row::type(  );
  DaoContext_PutInteger( _ctx, (int) _type );
}
/* Fl_Table_Row.H */
static void dao_Fl_Table_Row_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Table_Row* self= (Fl_Table_Row*) DValue_CastCData( _p[0], dao_Fl_Table_Row_Typer );
  Fl_Table_Row::TableRowSelectMode val= (Fl_Table_Row::TableRowSelectMode) _p[1]->v.i;
  self->Fl_Table_Row::type( val );
}

/*  Fl_Table_Row.H */


static DaoNumItem dao_Fl_Table_Row_CharVector_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Table_Row_CharVector_Meths[] = 
{
  { NULL, NULL }
};

static DaoTypeBase Fl_Table_Row_CharVector_Typer = 
{ "Fl_Table_Row_CharVector", NULL, 
  dao_Fl_Table_Row_CharVector_Nums,
  dao_Fl_Table_Row_CharVector_Meths, 
  { 0 },
  { 0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Table_Row_CharVector_Typer = & Fl_Table_Row_CharVector_Typer;

/*  Fl_Tabs.H */


static DaoNumItem dao_Fl_Tabs_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Tabs_Fl_Tabs( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tabs_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tabs_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tabs_push( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tabs_push_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tabs_redraw_tabs( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tabs_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tabs_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tabs_which( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Tabs_Meths[] = 
{
  { dao_Fl_Tabs_Fl_Tabs, "Fl_Tabs( _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, s : string|null=null )=>Fl_Tabs" },
  { dao_Fl_Tabs_draw, "draw( self : Fl_Tabs )" },
  { dao_Fl_Tabs_handle, "handle( self : Fl_Tabs, _cp0 : int )=>int" },
  { dao_Fl_Tabs_push, "push( self : Fl_Tabs )=>Fl_Widget" },
  { dao_Fl_Tabs_push_dao_2, "push( self : Fl_Tabs, _cp0 : Fl_Widget )=>int" },
  { dao_Fl_Tabs_redraw_tabs, "redraw_tabs( self : Fl_Tabs )" },
  { dao_Fl_Tabs_value, "value( self : Fl_Tabs )=>Fl_Widget" },
  { dao_Fl_Tabs_value_dao_2, "value( self : Fl_Tabs, _cp0 : Fl_Widget )=>int" },
  { dao_Fl_Tabs_which, "which( self : Fl_Tabs, event_x : int, event_y : int )=>Fl_Widget" },
  { NULL, NULL }
};
static void Dao_Fl_Tabs_Delete( void *self )
{
	delete (Fl_Tabs*) self;
}
void* dao_cast_Fl_Tabs_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Tabs*)data;
}

static DaoTypeBase Fl_Tabs_Typer = 
{ "Fl_Tabs", NULL, 
  dao_Fl_Tabs_Nums,
  dao_Fl_Tabs_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Tabs_to_Fl_Group,0 },
  Dao_Fl_Tabs_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Tabs_Typer = & Fl_Tabs_Typer;
/* Fl_Tabs.H */
static void dao_Fl_Tabs_Fl_Tabs( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int _cp1= (int) _p[1]->v.i;
  int _cp2= (int) _p[2]->v.i;
  int _cp3= (int) _p[3]->v.i;
  char* s= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Tabs *_self = DaoCxx_Fl_Tabs_New( _cp0, _cp1, _cp2, _cp3, s );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Tabs.H */
static void dao_Fl_Tabs_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Tabs *self = (DaoCxx_Fl_Tabs*) DValue_CastCData( _p[0], dao_Fl_Tabs_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Tabs.H */
static void dao_Fl_Tabs_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tabs* self= (Fl_Tabs*) DValue_CastCData( _p[0], dao_Fl_Tabs_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Tabs::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Tabs.H */
static void dao_Fl_Tabs_push( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tabs* self= (Fl_Tabs*) DValue_CastCData( _p[0], dao_Fl_Tabs_Typer );
  Fl_Widget* _push = self->Fl_Tabs::push(  );
  DaoContext_WrapCData( _ctx, (void*) _push, dao_Fl_Widget_Typer );
}
/* Fl_Tabs.H */
static void dao_Fl_Tabs_push_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tabs* self= (Fl_Tabs*) DValue_CastCData( _p[0], dao_Fl_Tabs_Typer );
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int _push = self->Fl_Tabs::push( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _push );
}
/* Fl_Tabs.H */
static void dao_Fl_Tabs_redraw_tabs( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Tabs *self = (DaoCxx_Fl_Tabs*) DValue_CastCData( _p[0], dao_Fl_Tabs_Typer );
  self->DaoWrap_redraw_tabs(  );
}
/* Fl_Tabs.H */
static void dao_Fl_Tabs_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tabs* self= (Fl_Tabs*) DValue_CastCData( _p[0], dao_Fl_Tabs_Typer );
  Fl_Widget* _value = self->Fl_Tabs::value(  );
  DaoContext_WrapCData( _ctx, (void*) _value, dao_Fl_Widget_Typer );
}
/* Fl_Tabs.H */
static void dao_Fl_Tabs_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tabs* self= (Fl_Tabs*) DValue_CastCData( _p[0], dao_Fl_Tabs_Typer );
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  int _value = self->Fl_Tabs::value( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _value );
}
/* Fl_Tabs.H */
static void dao_Fl_Tabs_which( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tabs* self= (Fl_Tabs*) DValue_CastCData( _p[0], dao_Fl_Tabs_Typer );
  int event_x= (int) _p[1]->v.i;
  int event_y= (int) _p[2]->v.i;
  Fl_Widget* _which = self->Fl_Tabs::which( event_x, event_y );
  DaoContext_WrapCData( _ctx, (void*) _which, dao_Fl_Widget_Typer );
}

/*  Fl_Text_Buffer.H */


static DaoNumItem dao_Fl_Text_Buffer_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Text_Buffer_Fl_Text_Buffer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_append( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_call_modify_callbacks_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_call_predelete_callbacks_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_canUndo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_character( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_character_width( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_clear_rectangular( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_copy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_count_displayed_characters( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_count_lines( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_expand_character_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_expand_character( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_findchar_backward( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_findchar_forward( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_findchars_backward( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_findchars_forward( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_highlight_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_highlight( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_highlight_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_highlight_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_highlight_rectangular( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_highlight_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_highlight_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_insert_column( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_length( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_line_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_line_start( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_line_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_null_substitution_character( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_overlay_rectangular( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_primary_selection_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_primary_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_remove_rectangular( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_remove_secondary_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_remove_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_replace( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_replace_rectangular( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_replace_secondary_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_replace_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_rewind_lines( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_search_backward( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_search_forward( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_secondary_select( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_secondary_select_rectangular( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_secondary_selected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_secondary_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_secondary_selection_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_secondary_selection_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_secondary_selection_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_secondary_unselect( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_select( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_select_rectangular( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_selected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_selection_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_selection_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_selection_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_skip_displayed_characters( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_skip_lines( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_substitute_null_characters( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_tab_distance( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_tab_distance_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_text_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_text_in_rectangle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_text_range( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_undo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_unhighlight( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_unselect( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_unsubstitute_null_characters( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_word_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Buffer_word_start( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Text_Buffer_Meths[] = 
{
  { dao_Fl_Text_Buffer_Fl_Text_Buffer, "Fl_Text_Buffer( requestedSize : int = 0, preferredGapSize : int = 1024 )=>Fl_Text_Buffer" },
  { dao_Fl_Text_Buffer_append, "append( self : Fl_Text_Buffer, t : string )" },
  { dao_Fl_Text_Buffer_call_modify_callbacks_dao_2, "call_modify_callbacks( self : Fl_Text_Buffer )" },
  { dao_Fl_Text_Buffer_call_predelete_callbacks_dao_2, "call_predelete_callbacks( self : Fl_Text_Buffer )" },
  { dao_Fl_Text_Buffer_canUndo, "canUndo( self : Fl_Text_Buffer, flag : int=1 )" },
  { dao_Fl_Text_Buffer_character, "character( self : Fl_Text_Buffer, pos : int )=>int" },
  { dao_Fl_Text_Buffer_character_width, "character_width( c : int, indent : int, tabDist : int, nullSubsChar : int )=>int" },
  { dao_Fl_Text_Buffer_clear_rectangular, "clear_rectangular( self : Fl_Text_Buffer, start : int, end : int, rectStart : int, rectEnd : int )" },
  { dao_Fl_Text_Buffer_copy, "copy( self : Fl_Text_Buffer, fromBuf : Fl_Text_Buffer, fromStart : int, fromEnd : int, toPos : int )" },
  { dao_Fl_Text_Buffer_count_displayed_characters, "count_displayed_characters( self : Fl_Text_Buffer, lineStartPos : int, targetPos : int )=>int" },
  { dao_Fl_Text_Buffer_count_lines, "count_lines( self : Fl_Text_Buffer, startPos : int, endPos : int )=>int" },
  { dao_Fl_Text_Buffer_expand_character_dao_2, "expand_character( c : int, indent : int, outStr : string, tabDist : int, nullSubsChar : int )=>int" },
  { dao_Fl_Text_Buffer_expand_character, "expand_character( self : Fl_Text_Buffer, pos : int, indent : int, outStr : string )=>int" },
  { dao_Fl_Text_Buffer_findchar_backward, "findchar_backward( self : Fl_Text_Buffer, startPos : int, searchChar : int, foundPos : int )=>int" },
  { dao_Fl_Text_Buffer_findchar_forward, "findchar_forward( self : Fl_Text_Buffer, startPos : int, searchChar : int, foundPos : int )=>int" },
  { dao_Fl_Text_Buffer_findchars_backward, "findchars_backward( self : Fl_Text_Buffer, startPos : int, searchChars : string, foundPos : int )=>int" },
  { dao_Fl_Text_Buffer_findchars_forward, "findchars_forward( self : Fl_Text_Buffer, startPos : int, searchChars : string, foundPos : int )=>int" },
  { dao_Fl_Text_Buffer_highlight_dao_2, "highlight( self : Fl_Text_Buffer )=>int" },
  { dao_Fl_Text_Buffer_highlight, "highlight( self : Fl_Text_Buffer, start : int, end : int )" },
  { dao_Fl_Text_Buffer_highlight_position, "highlight_position( self : Fl_Text_Buffer, start : int, end : int )=>int" },
  { dao_Fl_Text_Buffer_highlight_position_dao_2, "highlight_position( self : Fl_Text_Buffer, start : int, end : int, isRect : int, rectStart : int, rectEnd : int )=>int" },
  { dao_Fl_Text_Buffer_highlight_rectangular, "highlight_rectangular( self : Fl_Text_Buffer, start : int, end : int, rectStart : int, rectEnd : int )" },
  { dao_Fl_Text_Buffer_highlight_selection, "highlight_selection( self : Fl_Text_Buffer )=>Fl_Text_Selection" },
  { dao_Fl_Text_Buffer_highlight_text, "highlight_text( self : Fl_Text_Buffer )=>string" },
  { dao_Fl_Text_Buffer_insert, "insert( self : Fl_Text_Buffer, pos : int, text : string )" },
  { dao_Fl_Text_Buffer_insert_column, "insert_column( self : Fl_Text_Buffer, column : int, startPos : int, text : string, charsInserted : int, charsDeleted : int )" },
  { dao_Fl_Text_Buffer_length, "length( self : Fl_Text_Buffer )=>int" },
  { dao_Fl_Text_Buffer_line_end, "line_end( self : Fl_Text_Buffer, pos : int )=>int" },
  { dao_Fl_Text_Buffer_line_start, "line_start( self : Fl_Text_Buffer, pos : int )=>int" },
  { dao_Fl_Text_Buffer_line_text, "line_text( self : Fl_Text_Buffer, pos : int )=>string" },
  { dao_Fl_Text_Buffer_null_substitution_character, "null_substitution_character( self : Fl_Text_Buffer )=>int" },
  { dao_Fl_Text_Buffer_overlay_rectangular, "overlay_rectangular( self : Fl_Text_Buffer, startPos : int, rectStart : int, rectEnd : int, text : string, charsInserted : int, charsDeleted : int )" },
  { dao_Fl_Text_Buffer_primary_selection_dao_2, "primary_selection( self : Fl_Text_Buffer )=>Fl_Text_Selection" },
  { dao_Fl_Text_Buffer_primary_selection, "primary_selection( self : Fl_Text_Buffer )=>Fl_Text_Selection" },
  { dao_Fl_Text_Buffer_remove, "remove( self : Fl_Text_Buffer, start : int, end : int )" },
  { dao_Fl_Text_Buffer_remove_rectangular, "remove_rectangular( self : Fl_Text_Buffer, start : int, end : int, rectStart : int, rectEnd : int )" },
  { dao_Fl_Text_Buffer_remove_secondary_selection, "remove_secondary_selection( self : Fl_Text_Buffer )" },
  { dao_Fl_Text_Buffer_remove_selection, "remove_selection( self : Fl_Text_Buffer )" },
  { dao_Fl_Text_Buffer_replace, "replace( self : Fl_Text_Buffer, start : int, end : int, text : string )" },
  { dao_Fl_Text_Buffer_replace_rectangular, "replace_rectangular( self : Fl_Text_Buffer, start : int, end : int, rectStart : int, rectEnd : int, text : string )" },
  { dao_Fl_Text_Buffer_replace_secondary_selection, "replace_secondary_selection( self : Fl_Text_Buffer, text : string )" },
  { dao_Fl_Text_Buffer_replace_selection, "replace_selection( self : Fl_Text_Buffer, text : string )" },
  { dao_Fl_Text_Buffer_rewind_lines, "rewind_lines( self : Fl_Text_Buffer, startPos : int, nLines : int )=>int" },
  { dao_Fl_Text_Buffer_search_backward, "search_backward( self : Fl_Text_Buffer, startPos : int, searchString : string, foundPos : array<int>, matchCase : int = 0 )=>int" },
  { dao_Fl_Text_Buffer_search_forward, "search_forward( self : Fl_Text_Buffer, startPos : int, searchString : string, foundPos : array<int>, matchCase : int = 0 )=>int" },
  { dao_Fl_Text_Buffer_secondary_select, "secondary_select( self : Fl_Text_Buffer, start : int, end : int )" },
  { dao_Fl_Text_Buffer_secondary_select_rectangular, "secondary_select_rectangular( self : Fl_Text_Buffer, start : int, end : int, rectStart : int, rectEnd : int )" },
  { dao_Fl_Text_Buffer_secondary_selected, "secondary_selected( self : Fl_Text_Buffer )=>int" },
  { dao_Fl_Text_Buffer_secondary_selection, "secondary_selection( self : Fl_Text_Buffer )=>Fl_Text_Selection" },
  { dao_Fl_Text_Buffer_secondary_selection_position, "secondary_selection_position( self : Fl_Text_Buffer, start : int, end : int )=>int" },
  { dao_Fl_Text_Buffer_secondary_selection_position_dao_2, "secondary_selection_position( self : Fl_Text_Buffer, start : int, end : int, isRect : int, rectStart : int, rectEnd : int )=>int" },
  { dao_Fl_Text_Buffer_secondary_selection_text, "secondary_selection_text( self : Fl_Text_Buffer )=>string" },
  { dao_Fl_Text_Buffer_secondary_unselect, "secondary_unselect( self : Fl_Text_Buffer )" },
  { dao_Fl_Text_Buffer_select, "select( self : Fl_Text_Buffer, start : int, end : int )" },
  { dao_Fl_Text_Buffer_select_rectangular, "select_rectangular( self : Fl_Text_Buffer, start : int, end : int, rectStart : int, rectEnd : int )" },
  { dao_Fl_Text_Buffer_selected, "selected( self : Fl_Text_Buffer )=>int" },
  { dao_Fl_Text_Buffer_selection_position, "selection_position( self : Fl_Text_Buffer, start : int, end : int )=>int" },
  { dao_Fl_Text_Buffer_selection_position_dao_2, "selection_position( self : Fl_Text_Buffer, start : int, end : int, isRect : int, rectStart : int, rectEnd : int )=>int" },
  { dao_Fl_Text_Buffer_selection_text, "selection_text( self : Fl_Text_Buffer )=>string" },
  { dao_Fl_Text_Buffer_skip_displayed_characters, "skip_displayed_characters( self : Fl_Text_Buffer, lineStartPos : int, nChars : int )=>int" },
  { dao_Fl_Text_Buffer_skip_lines, "skip_lines( self : Fl_Text_Buffer, startPos : int, nLines : int )=>int" },
  { dao_Fl_Text_Buffer_substitute_null_characters, "substitute_null_characters( self : Fl_Text_Buffer, string : string, length : int )=>int" },
  { dao_Fl_Text_Buffer_tab_distance, "tab_distance( self : Fl_Text_Buffer )=>int" },
  { dao_Fl_Text_Buffer_tab_distance_dao_2, "tab_distance( self : Fl_Text_Buffer, tabDist : int )" },
  { dao_Fl_Text_Buffer_text, "text( self : Fl_Text_Buffer )=>string" },
  { dao_Fl_Text_Buffer_text_dao_2, "text( self : Fl_Text_Buffer, text : string )" },
  { dao_Fl_Text_Buffer_text_in_rectangle, "text_in_rectangle( self : Fl_Text_Buffer, start : int, end : int, rectStart : int, rectEnd : int )=>string" },
  { dao_Fl_Text_Buffer_text_range, "text_range( self : Fl_Text_Buffer, start : int, end : int )=>string" },
  { dao_Fl_Text_Buffer_undo, "undo( self : Fl_Text_Buffer, cp : int|null=null )=>int" },
  { dao_Fl_Text_Buffer_unhighlight, "unhighlight( self : Fl_Text_Buffer )" },
  { dao_Fl_Text_Buffer_unselect, "unselect( self : Fl_Text_Buffer )" },
  { dao_Fl_Text_Buffer_unsubstitute_null_characters, "unsubstitute_null_characters( self : Fl_Text_Buffer, string : string )" },
  { dao_Fl_Text_Buffer_word_end, "word_end( self : Fl_Text_Buffer, pos : int )=>int" },
  { dao_Fl_Text_Buffer_word_start, "word_start( self : Fl_Text_Buffer, pos : int )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Text_Buffer_Delete( void *self )
{
	delete (Fl_Text_Buffer*) self;
}

static DaoTypeBase Fl_Text_Buffer_Typer = 
{ "Fl_Text_Buffer", NULL, 
  dao_Fl_Text_Buffer_Nums,
  dao_Fl_Text_Buffer_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Text_Buffer_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Text_Buffer_Typer = & Fl_Text_Buffer_Typer;
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_Fl_Text_Buffer( DaoContext *_ctx, DValue *_p[], int _n )
{
  int requestedSize= (int) _p[0]->v.i;
  int preferredGapSize= (int) _p[1]->v.i;
	Fl_Text_Buffer *_self = Dao_Fl_Text_Buffer_New( requestedSize, preferredGapSize );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Text_Buffer_Typer );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_append( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  char* t= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Text_Buffer::append( t );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_call_modify_callbacks_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  self->Fl_Text_Buffer::call_modify_callbacks(  );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_call_predelete_callbacks_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  self->Fl_Text_Buffer::call_predelete_callbacks(  );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_canUndo( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int flag= (int) _p[1]->v.i;
  self->Fl_Text_Buffer::canUndo( flag );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_character( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int pos= (int) _p[1]->v.i;
  char _character = self->Fl_Text_Buffer::character( pos );
  DaoContext_PutInteger( _ctx, (int) _character );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_character_width( DaoContext *_ctx, DValue *_p[], int _n )
{
  char c= (char) _p[0]->v.i;
  int indent= (int) _p[1]->v.i;
  int tabDist= (int) _p[2]->v.i;
  char nullSubsChar= (char) _p[3]->v.i;
  int _character_width = Fl_Text_Buffer::character_width( c, indent, tabDist, nullSubsChar );
  DaoContext_PutInteger( _ctx, (int) _character_width );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_clear_rectangular( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int rectStart= (int) _p[3]->v.i;
  int rectEnd= (int) _p[4]->v.i;
  self->Fl_Text_Buffer::clear_rectangular( start, end, rectStart, rectEnd );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_copy( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  Fl_Text_Buffer* fromBuf= (Fl_Text_Buffer*) DValue_CastCData( _p[1], dao_Fl_Text_Buffer_Typer );
  int fromStart= (int) _p[2]->v.i;
  int fromEnd= (int) _p[3]->v.i;
  int toPos= (int) _p[4]->v.i;
  self->Fl_Text_Buffer::copy( fromBuf, fromStart, fromEnd, toPos );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_count_displayed_characters( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int lineStartPos= (int) _p[1]->v.i;
  int targetPos= (int) _p[2]->v.i;
  int _count_displayed_characters = self->Fl_Text_Buffer::count_displayed_characters( lineStartPos, targetPos );
  DaoContext_PutInteger( _ctx, (int) _count_displayed_characters );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_count_lines( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int startPos= (int) _p[1]->v.i;
  int endPos= (int) _p[2]->v.i;
  int _count_lines = self->Fl_Text_Buffer::count_lines( startPos, endPos );
  DaoContext_PutInteger( _ctx, (int) _count_lines );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_expand_character_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char c= (char) _p[0]->v.i;
  int indent= (int) _p[1]->v.i;
  char* outStr= (char*) DValue_GetMBString( _p[2] );
  int tabDist= (int) _p[3]->v.i;
  char nullSubsChar= (char) _p[4]->v.i;
  int _expand_character = Fl_Text_Buffer::expand_character( c, indent, outStr, tabDist, nullSubsChar );
  DString_SetMBS( _p[2]->v.s, (char*) outStr );
  DaoContext_PutInteger( _ctx, (int) _expand_character );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_expand_character( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int pos= (int) _p[1]->v.i;
  int indent= (int) _p[2]->v.i;
  char* outStr= (char*) DValue_GetMBString( _p[3] );
  int _expand_character = self->Fl_Text_Buffer::expand_character( pos, indent, outStr );
  DString_SetMBS( _p[3]->v.s, (char*) outStr );
  DaoContext_PutInteger( _ctx, (int) _expand_character );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_findchar_backward( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int startPos= (int) _p[1]->v.i;
  char searchChar= (char) _p[2]->v.i;
  int foundPos= (int) _p[3]->v.i;
  int _findchar_backward = self->Fl_Text_Buffer::findchar_backward( startPos, searchChar, & foundPos );
  _p[3]->v.i = (int) foundPos;
  DaoContext_PutInteger( _ctx, (int) _findchar_backward );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_findchar_forward( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int startPos= (int) _p[1]->v.i;
  char searchChar= (char) _p[2]->v.i;
  int foundPos= (int) _p[3]->v.i;
  int _findchar_forward = self->Fl_Text_Buffer::findchar_forward( startPos, searchChar, & foundPos );
  _p[3]->v.i = (int) foundPos;
  DaoContext_PutInteger( _ctx, (int) _findchar_forward );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_findchars_backward( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int startPos= (int) _p[1]->v.i;
  char* searchChars= (char*) DValue_GetMBString( _p[2] );
  int foundPos= (int) _p[3]->v.i;
  int _findchars_backward = self->Fl_Text_Buffer::findchars_backward( startPos, searchChars, & foundPos );
  _p[3]->v.i = (int) foundPos;
  DaoContext_PutInteger( _ctx, (int) _findchars_backward );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_findchars_forward( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int startPos= (int) _p[1]->v.i;
  char* searchChars= (char*) DValue_GetMBString( _p[2] );
  int foundPos= (int) _p[3]->v.i;
  int _findchars_forward = self->Fl_Text_Buffer::findchars_forward( startPos, searchChars, & foundPos );
  _p[3]->v.i = (int) foundPos;
  DaoContext_PutInteger( _ctx, (int) _findchars_forward );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_highlight_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int _highlight = self->Fl_Text_Buffer::highlight(  );
  DaoContext_PutInteger( _ctx, (int) _highlight );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_highlight( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  self->Fl_Text_Buffer::highlight( start, end );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_highlight_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int _highlight_position = self->Fl_Text_Buffer::highlight_position( & start, & end );
  _p[1]->v.i = (int) start;
  _p[2]->v.i = (int) end;
  DaoContext_PutInteger( _ctx, (int) _highlight_position );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_highlight_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int isRect= (int) _p[3]->v.i;
  int rectStart= (int) _p[4]->v.i;
  int rectEnd= (int) _p[5]->v.i;
  int _highlight_position = self->Fl_Text_Buffer::highlight_position( & start, & end, & isRect, & rectStart, & rectEnd );
  _p[1]->v.i = (int) start;
  _p[2]->v.i = (int) end;
  _p[3]->v.i = (int) isRect;
  _p[4]->v.i = (int) rectStart;
  _p[5]->v.i = (int) rectEnd;
  DaoContext_PutInteger( _ctx, (int) _highlight_position );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_highlight_rectangular( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int rectStart= (int) _p[3]->v.i;
  int rectEnd= (int) _p[4]->v.i;
  self->Fl_Text_Buffer::highlight_rectangular( start, end, rectStart, rectEnd );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_highlight_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  const Fl_Text_Selection* _highlight_selection = self->Fl_Text_Buffer::highlight_selection(  );
  DaoContext_WrapCData( _ctx, (void*) _highlight_selection, dao_Fl_Text_Selection_Typer );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_highlight_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  char* _highlight_text = self->Fl_Text_Buffer::highlight_text(  );
  DaoContext_PutMBString( _ctx, (char*) _highlight_text );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int pos= (int) _p[1]->v.i;
  char* text= (char*) DValue_GetMBString( _p[2] );
  self->Fl_Text_Buffer::insert( pos, text );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_insert_column( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int column= (int) _p[1]->v.i;
  int startPos= (int) _p[2]->v.i;
  char* text= (char*) DValue_GetMBString( _p[3] );
  int charsInserted= (int) _p[4]->v.i;
  int charsDeleted= (int) _p[5]->v.i;
  self->Fl_Text_Buffer::insert_column( column, startPos, text, & charsInserted, & charsDeleted );
  _p[4]->v.i = (int) charsInserted;
  _p[5]->v.i = (int) charsDeleted;
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_length( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int _length = self->Fl_Text_Buffer::length(  );
  DaoContext_PutInteger( _ctx, (int) _length );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_line_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int pos= (int) _p[1]->v.i;
  int _line_end = self->Fl_Text_Buffer::line_end( pos );
  DaoContext_PutInteger( _ctx, (int) _line_end );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_line_start( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int pos= (int) _p[1]->v.i;
  int _line_start = self->Fl_Text_Buffer::line_start( pos );
  DaoContext_PutInteger( _ctx, (int) _line_start );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_line_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int pos= (int) _p[1]->v.i;
  char* _line_text = self->Fl_Text_Buffer::line_text( pos );
  DaoContext_PutMBString( _ctx, (char*) _line_text );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_null_substitution_character( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  char _null_substitution_character = self->Fl_Text_Buffer::null_substitution_character(  );
  DaoContext_PutInteger( _ctx, (int) _null_substitution_character );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_overlay_rectangular( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int startPos= (int) _p[1]->v.i;
  int rectStart= (int) _p[2]->v.i;
  int rectEnd= (int) _p[3]->v.i;
  char* text= (char*) DValue_GetMBString( _p[4] );
  int charsInserted= (int) _p[5]->v.i;
  int charsDeleted= (int) _p[6]->v.i;
  self->Fl_Text_Buffer::overlay_rectangular( startPos, rectStart, rectEnd, text, & charsInserted, & charsDeleted );
  _p[5]->v.i = (int) charsInserted;
  _p[6]->v.i = (int) charsDeleted;
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_primary_selection_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  Fl_Text_Selection* _primary_selection = self->Fl_Text_Buffer::primary_selection(  );
  DaoContext_WrapCData( _ctx, (void*) _primary_selection, dao_Fl_Text_Selection_Typer );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_primary_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  const Fl_Text_Selection* _primary_selection = self->Fl_Text_Buffer::primary_selection(  );
  DaoContext_WrapCData( _ctx, (void*) _primary_selection, dao_Fl_Text_Selection_Typer );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  self->Fl_Text_Buffer::remove( start, end );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_remove_rectangular( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int rectStart= (int) _p[3]->v.i;
  int rectEnd= (int) _p[4]->v.i;
  self->Fl_Text_Buffer::remove_rectangular( start, end, rectStart, rectEnd );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_remove_secondary_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  self->Fl_Text_Buffer::remove_secondary_selection(  );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_remove_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  self->Fl_Text_Buffer::remove_selection(  );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_replace( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  char* text= (char*) DValue_GetMBString( _p[3] );
  self->Fl_Text_Buffer::replace( start, end, text );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_replace_rectangular( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int rectStart= (int) _p[3]->v.i;
  int rectEnd= (int) _p[4]->v.i;
  char* text= (char*) DValue_GetMBString( _p[5] );
  self->Fl_Text_Buffer::replace_rectangular( start, end, rectStart, rectEnd, text );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_replace_secondary_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  char* text= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Text_Buffer::replace_secondary_selection( text );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_replace_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  char* text= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Text_Buffer::replace_selection( text );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_rewind_lines( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int startPos= (int) _p[1]->v.i;
  int nLines= (int) _p[2]->v.i;
  int _rewind_lines = self->Fl_Text_Buffer::rewind_lines( startPos, nLines );
  DaoContext_PutInteger( _ctx, (int) _rewind_lines );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_search_backward( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int startPos= (int) _p[1]->v.i;
  char* searchString= (char*) DValue_GetMBString( _p[2] );
  int* foundPos= (int*) DaoArray_ToInt( _p[3]->v.array );
  int matchCase= (int) _p[4]->v.i;
  int _search_backward = self->Fl_Text_Buffer::search_backward( startPos, searchString, foundPos, matchCase );
  DaoContext_PutInteger( _ctx, (int) _search_backward );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_search_forward( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int startPos= (int) _p[1]->v.i;
  char* searchString= (char*) DValue_GetMBString( _p[2] );
  int* foundPos= (int*) DaoArray_ToInt( _p[3]->v.array );
  int matchCase= (int) _p[4]->v.i;
  int _search_forward = self->Fl_Text_Buffer::search_forward( startPos, searchString, foundPos, matchCase );
  DaoContext_PutInteger( _ctx, (int) _search_forward );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_secondary_select( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  self->Fl_Text_Buffer::secondary_select( start, end );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_secondary_select_rectangular( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int rectStart= (int) _p[3]->v.i;
  int rectEnd= (int) _p[4]->v.i;
  self->Fl_Text_Buffer::secondary_select_rectangular( start, end, rectStart, rectEnd );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_secondary_selected( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int _secondary_selected = self->Fl_Text_Buffer::secondary_selected(  );
  DaoContext_PutInteger( _ctx, (int) _secondary_selected );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_secondary_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  const Fl_Text_Selection* _secondary_selection = self->Fl_Text_Buffer::secondary_selection(  );
  DaoContext_WrapCData( _ctx, (void*) _secondary_selection, dao_Fl_Text_Selection_Typer );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_secondary_selection_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int _secondary_selection_position = self->Fl_Text_Buffer::secondary_selection_position( & start, & end );
  _p[1]->v.i = (int) start;
  _p[2]->v.i = (int) end;
  DaoContext_PutInteger( _ctx, (int) _secondary_selection_position );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_secondary_selection_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int isRect= (int) _p[3]->v.i;
  int rectStart= (int) _p[4]->v.i;
  int rectEnd= (int) _p[5]->v.i;
  int _secondary_selection_position = self->Fl_Text_Buffer::secondary_selection_position( & start, & end, & isRect, & rectStart, & rectEnd );
  _p[1]->v.i = (int) start;
  _p[2]->v.i = (int) end;
  _p[3]->v.i = (int) isRect;
  _p[4]->v.i = (int) rectStart;
  _p[5]->v.i = (int) rectEnd;
  DaoContext_PutInteger( _ctx, (int) _secondary_selection_position );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_secondary_selection_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  char* _secondary_selection_text = self->Fl_Text_Buffer::secondary_selection_text(  );
  DaoContext_PutMBString( _ctx, (char*) _secondary_selection_text );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_secondary_unselect( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  self->Fl_Text_Buffer::secondary_unselect(  );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_select( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  self->Fl_Text_Buffer::select( start, end );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_select_rectangular( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int rectStart= (int) _p[3]->v.i;
  int rectEnd= (int) _p[4]->v.i;
  self->Fl_Text_Buffer::select_rectangular( start, end, rectStart, rectEnd );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_selected( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int _selected = self->Fl_Text_Buffer::selected(  );
  DaoContext_PutInteger( _ctx, (int) _selected );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_selection_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int _selection_position = self->Fl_Text_Buffer::selection_position( & start, & end );
  _p[1]->v.i = (int) start;
  _p[2]->v.i = (int) end;
  DaoContext_PutInteger( _ctx, (int) _selection_position );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_selection_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int isRect= (int) _p[3]->v.i;
  int rectStart= (int) _p[4]->v.i;
  int rectEnd= (int) _p[5]->v.i;
  int _selection_position = self->Fl_Text_Buffer::selection_position( & start, & end, & isRect, & rectStart, & rectEnd );
  _p[1]->v.i = (int) start;
  _p[2]->v.i = (int) end;
  _p[3]->v.i = (int) isRect;
  _p[4]->v.i = (int) rectStart;
  _p[5]->v.i = (int) rectEnd;
  DaoContext_PutInteger( _ctx, (int) _selection_position );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_selection_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  char* _selection_text = self->Fl_Text_Buffer::selection_text(  );
  DaoContext_PutMBString( _ctx, (char*) _selection_text );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_skip_displayed_characters( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int lineStartPos= (int) _p[1]->v.i;
  int nChars= (int) _p[2]->v.i;
  int _skip_displayed_characters = self->Fl_Text_Buffer::skip_displayed_characters( lineStartPos, nChars );
  DaoContext_PutInteger( _ctx, (int) _skip_displayed_characters );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_skip_lines( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int startPos= (int) _p[1]->v.i;
  int nLines= (int) _p[2]->v.i;
  int _skip_lines = self->Fl_Text_Buffer::skip_lines( startPos, nLines );
  DaoContext_PutInteger( _ctx, (int) _skip_lines );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_substitute_null_characters( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  char* string= (char*) DValue_GetMBString( _p[1] );
  int length= (int) _p[2]->v.i;
  int _substitute_null_characters = self->Fl_Text_Buffer::substitute_null_characters( string, length );
  DString_SetMBS( _p[1]->v.s, (char*) string );
  DaoContext_PutInteger( _ctx, (int) _substitute_null_characters );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_tab_distance( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int _tab_distance = self->Fl_Text_Buffer::tab_distance(  );
  DaoContext_PutInteger( _ctx, (int) _tab_distance );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_tab_distance_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int tabDist= (int) _p[1]->v.i;
  self->Fl_Text_Buffer::tab_distance( tabDist );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  char* _text = self->Fl_Text_Buffer::text(  );
  DaoContext_PutMBString( _ctx, (char*) _text );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_text_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  char* text= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Text_Buffer::text( text );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_text_in_rectangle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int rectStart= (int) _p[3]->v.i;
  int rectEnd= (int) _p[4]->v.i;
  char* _text_in_rectangle = self->Fl_Text_Buffer::text_in_rectangle( start, end, rectStart, rectEnd );
  DaoContext_PutMBString( _ctx, (char*) _text_in_rectangle );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_text_range( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  char* _text_range = self->Fl_Text_Buffer::text_range( start, end );
  DaoContext_PutMBString( _ctx, (char*) _text_range );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_undo( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int cp= (int) _p[1]->v.i;
  int _undo = self->Fl_Text_Buffer::undo( & cp );
  _p[1]->v.i = (int) cp;
  DaoContext_PutInteger( _ctx, (int) _undo );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_unhighlight( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  self->Fl_Text_Buffer::unhighlight(  );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_unselect( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  self->Fl_Text_Buffer::unselect(  );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_unsubstitute_null_characters( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  char* string= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Text_Buffer::unsubstitute_null_characters( string );
  DString_SetMBS( _p[1]->v.s, (char*) string );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_word_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int pos= (int) _p[1]->v.i;
  int _word_end = self->Fl_Text_Buffer::word_end( pos );
  DaoContext_PutInteger( _ctx, (int) _word_end );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Buffer_word_start( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Buffer* self= (Fl_Text_Buffer*) DValue_CastCData( _p[0], dao_Fl_Text_Buffer_Typer );
  int pos= (int) _p[1]->v.i;
  int _word_start = self->Fl_Text_Buffer::word_start( pos );
  DaoContext_PutInteger( _ctx, (int) _word_start );
}

/*  Fl_Text_Display.H */


static DaoNumItem dao_Fl_Text_Display_Nums[] =
{
  { "NORMAL_CURSOR", DAO_INTEGER, Fl_Text_Display::NORMAL_CURSOR },
  { "CARET_CURSOR", DAO_INTEGER, Fl_Text_Display::CARET_CURSOR },
  { "DIM_CURSOR", DAO_INTEGER, Fl_Text_Display::DIM_CURSOR },
  { "BLOCK_CURSOR", DAO_INTEGER, Fl_Text_Display::BLOCK_CURSOR },
  { "HEAVY_CURSOR", DAO_INTEGER, Fl_Text_Display::HEAVY_CURSOR },
  { "CURSOR_POS", DAO_INTEGER, Fl_Text_Display::CURSOR_POS },
  { "CHARACTER_POS", DAO_INTEGER, Fl_Text_Display::CHARACTER_POS },
  { "DRAG_CHAR", DAO_INTEGER, Fl_Text_Display::DRAG_CHAR },
  { "DRAG_WORD", DAO_INTEGER, Fl_Text_Display::DRAG_WORD },
  { "DRAG_LINE", DAO_INTEGER, Fl_Text_Display::DRAG_LINE },
  { "ATTR_NONE", DAO_INTEGER, Fl_Text_Display::ATTR_NONE },
  { "ATTR_UNDERLINE", DAO_INTEGER, Fl_Text_Display::ATTR_UNDERLINE },
  { "ATTR_HIDDEN", DAO_INTEGER, Fl_Text_Display::ATTR_HIDDEN },
  { NULL, 0, 0 }
};
static void dao_Fl_Text_Display_Fl_Text_Display( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_absolute_top_line_number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_buffer_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_buffer_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_buffer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_calc_last_char( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_calc_line_starts( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_clear_rect( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_count_lines( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_cursor_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_cursor_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_cursor_style( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_display_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_draw_cursor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_draw_line_numbers( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_draw_range( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_draw_string( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_draw_text( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_draw_vline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_empty_vlines( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_extend_range_for_styles( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_find_line_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_find_wrap_range( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_get_absolute_top_line_number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_handle__Fl_Text_Display( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_hide_cursor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_in_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_insert_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_insert_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_line_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_line_start( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_longest_vline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_maintain_absolute_top_line_number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_maintaining_absolute_top_line_number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_measure_deleted_lines( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_measure_proportional_character( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_measure_vline( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_move_down( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_move_left( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_move_right( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_move_up( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_next_word( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_offset_line_starts( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_overstrike( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_position_style( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_position_to_line( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_position_to_linecol( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_position_to_xy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_previous_word( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_range_touches_selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_redisplay_range( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_reset_absolute_top_line_number( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_resize__Fl_Text_Display( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_rewind_lines( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_scroll( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_scroll_( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_scrollbar_align( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_scrollbar_align_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_scrollbar_width( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_scrollbar_width_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_shortcut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_shortcut_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_show_cursor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_show_insert_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_skip_lines( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_string_width( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_update_h_scrollbar( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_update_line_starts( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_update_v_scrollbar( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_vline_length( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_word_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_word_start( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_wrap_mode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_wrap_uses_character( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_wrapped_column( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_wrapped_line_counter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_wrapped_row( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_xy_to_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Display_xy_to_rowcol( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Text_Display_Meths[] = 
{
  { dao_Fl_Text_Display_Fl_Text_Display, "Fl_Text_Display( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Text_Display" },
  { dao_Fl_Text_Display_absolute_top_line_number, "absolute_top_line_number( self : Fl_Text_Display, oldFirstChar : int )" },
  { dao_Fl_Text_Display_buffer_dao_3, "buffer( self : Fl_Text_Display )=>Fl_Text_Buffer" },
  { dao_Fl_Text_Display_buffer_dao_2, "buffer( self : Fl_Text_Display, buf : Fl_Text_Buffer )" },
  { dao_Fl_Text_Display_buffer, "buffer( self : Fl_Text_Display, buf : Fl_Text_Buffer )" },
  { dao_Fl_Text_Display_calc_last_char, "calc_last_char( self : Fl_Text_Display )" },
  { dao_Fl_Text_Display_calc_line_starts, "calc_line_starts( self : Fl_Text_Display, startLine : int, endLine : int )" },
  { dao_Fl_Text_Display_clear_rect, "clear_rect( self : Fl_Text_Display, style : int, x : int, y : int, width : int, height : int )" },
  { dao_Fl_Text_Display_count_lines, "count_lines( self : Fl_Text_Display, start : int, end : int, start_pos_is_line_start : int )=>int" },
  { dao_Fl_Text_Display_cursor_color, "cursor_color( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_cursor_color_dao_2, "cursor_color( self : Fl_Text_Display, n : int )" },
  { dao_Fl_Text_Display_cursor_style, "cursor_style( self : Fl_Text_Display, style : int )" },
  { dao_Fl_Text_Display_display_insert, "display_insert( self : Fl_Text_Display )" },
  { dao_Fl_Text_Display_draw, "draw( self : Fl_Text_Display )" },
  { dao_Fl_Text_Display_draw_cursor, "draw_cursor( self : Fl_Text_Display, _cp0 : int, _cp1 : int )" },
  { dao_Fl_Text_Display_draw_line_numbers, "draw_line_numbers( self : Fl_Text_Display, clearAll : int )" },
  { dao_Fl_Text_Display_draw_range, "draw_range( self : Fl_Text_Display, start : int, end : int )" },
  { dao_Fl_Text_Display_draw_string, "draw_string( self : Fl_Text_Display, style : int, x : int, y : int, toX : int, string : string, nChars : int )" },
  { dao_Fl_Text_Display_draw_text, "draw_text( self : Fl_Text_Display, X : int, Y : int, W : int, H : int )" },
  { dao_Fl_Text_Display_draw_vline, "draw_vline( self : Fl_Text_Display, visLineNum : int, leftClip : int, rightClip : int, leftCharIndex : int, rightCharIndex : int )" },
  { dao_Fl_Text_Display_empty_vlines, "empty_vlines( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_extend_range_for_styles, "extend_range_for_styles( self : Fl_Text_Display, start : int, end : int )" },
  { dao_Fl_Text_Display_find_line_end, "find_line_end( self : Fl_Text_Display, pos : int, start_pos_is_line_start : int, lineEnd : int, nextLineStart : int )" },
  { dao_Fl_Text_Display_find_wrap_range, "find_wrap_range( self : Fl_Text_Display, deletedText : string, pos : int, nInserted : int, nDeleted : int, modRangeStart : int, modRangeEnd : int, linesInserted : int, linesDeleted : int )" },
  { dao_Fl_Text_Display_get_absolute_top_line_number, "get_absolute_top_line_number( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_handle, "handle( self : Fl_Text_Display, e : int )=>int" },
  { dao_Fl_Text_Display_hide_cursor, "hide_cursor( self : Fl_Text_Display )" },
  { dao_Fl_Text_Display_in_selection, "in_selection( self : Fl_Text_Display, x : int, y : int )=>int" },
  { dao_Fl_Text_Display_insert, "insert( self : Fl_Text_Display, text : string )" },
  { dao_Fl_Text_Display_insert_position_dao_2, "insert_position( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_insert_position, "insert_position( self : Fl_Text_Display, newPos : int )" },
  { dao_Fl_Text_Display_line_end, "line_end( self : Fl_Text_Display, pos : int, start_pos_is_line_start : int )=>int" },
  { dao_Fl_Text_Display_line_start, "line_start( self : Fl_Text_Display, pos : int )=>int" },
  { dao_Fl_Text_Display_longest_vline, "longest_vline( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_maintain_absolute_top_line_number, "maintain_absolute_top_line_number( self : Fl_Text_Display, state : int )" },
  { dao_Fl_Text_Display_maintaining_absolute_top_line_number, "maintaining_absolute_top_line_number( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_measure_deleted_lines, "measure_deleted_lines( self : Fl_Text_Display, pos : int, nDeleted : int )" },
  { dao_Fl_Text_Display_measure_proportional_character, "measure_proportional_character( self : Fl_Text_Display, c : int, colNum : int, pos : int )=>int" },
  { dao_Fl_Text_Display_measure_vline, "measure_vline( self : Fl_Text_Display, visLineNum : int )=>int" },
  { dao_Fl_Text_Display_move_down, "move_down( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_move_left, "move_left( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_move_right, "move_right( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_move_up, "move_up( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_next_word, "next_word( self : Fl_Text_Display )" },
  { dao_Fl_Text_Display_offset_line_starts, "offset_line_starts( self : Fl_Text_Display, newTopLineNum : int )" },
  { dao_Fl_Text_Display_overstrike, "overstrike( self : Fl_Text_Display, text : string )" },
  { dao_Fl_Text_Display_position_style, "position_style( self : Fl_Text_Display, lineStartPos : int, lineLen : int, lineIndex : int, dispIndex : int )=>int" },
  { dao_Fl_Text_Display_position_to_line, "position_to_line( self : Fl_Text_Display, pos : int, lineNum : int )=>int" },
  { dao_Fl_Text_Display_position_to_linecol, "position_to_linecol( self : Fl_Text_Display, pos : int, lineNum : int, column : int )=>int" },
  { dao_Fl_Text_Display_position_to_xy, "position_to_xy( self : Fl_Text_Display, pos : int, x : int, y : int )=>int" },
  { dao_Fl_Text_Display_previous_word, "previous_word( self : Fl_Text_Display )" },
  { dao_Fl_Text_Display_range_touches_selection, "range_touches_selection( self : Fl_Text_Display, sel : Fl_Text_Selection, rangeStart : int, rangeEnd : int )=>int" },
  { dao_Fl_Text_Display_redisplay_range, "redisplay_range( self : Fl_Text_Display, start : int, end : int )" },
  { dao_Fl_Text_Display_reset_absolute_top_line_number, "reset_absolute_top_line_number( self : Fl_Text_Display )" },
  { dao_Fl_Text_Display_resize, "resize( self : Fl_Text_Display, X : int, Y : int, W : int, H : int )" },
  { dao_Fl_Text_Display_rewind_lines, "rewind_lines( self : Fl_Text_Display, startPos : int, nLines : int )=>int" },
  { dao_Fl_Text_Display_scroll, "scroll( self : Fl_Text_Display, topLineNum : int, horizOffset : int )" },
  { dao_Fl_Text_Display_scroll_, "scroll_( self : Fl_Text_Display, topLineNum : int, horizOffset : int )" },
  { dao_Fl_Text_Display_scrollbar_align, "scrollbar_align( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_scrollbar_align_dao_2, "scrollbar_align( self : Fl_Text_Display, a : int )" },
  { dao_Fl_Text_Display_scrollbar_width, "scrollbar_width( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_scrollbar_width_dao_2, "scrollbar_width( self : Fl_Text_Display, W : int )" },
  { dao_Fl_Text_Display_shortcut, "shortcut( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_shortcut_dao_2, "shortcut( self : Fl_Text_Display, s : int )" },
  { dao_Fl_Text_Display_show_cursor, "show_cursor( self : Fl_Text_Display, b : int = 1 )" },
  { dao_Fl_Text_Display_show_insert_position, "show_insert_position( self : Fl_Text_Display )" },
  { dao_Fl_Text_Display_skip_lines, "skip_lines( self : Fl_Text_Display, startPos : int, nLines : int, startPosIsLineStart : int )=>int" },
  { dao_Fl_Text_Display_string_width, "string_width( self : Fl_Text_Display, string : string, length : int, style : int )=>int" },
  { dao_Fl_Text_Display_textcolor, "textcolor( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_textcolor_dao_2, "textcolor( self : Fl_Text_Display, n : int )" },
  { dao_Fl_Text_Display_textfont, "textfont( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_textfont_dao_2, "textfont( self : Fl_Text_Display, s : int )" },
  { dao_Fl_Text_Display_textsize, "textsize( self : Fl_Text_Display )=>int" },
  { dao_Fl_Text_Display_textsize_dao_2, "textsize( self : Fl_Text_Display, s : int )" },
  { dao_Fl_Text_Display_update_h_scrollbar, "update_h_scrollbar( self : Fl_Text_Display )" },
  { dao_Fl_Text_Display_update_line_starts, "update_line_starts( self : Fl_Text_Display, pos : int, charsInserted : int, charsDeleted : int, linesInserted : int, linesDeleted : int, scrolled : int )" },
  { dao_Fl_Text_Display_update_v_scrollbar, "update_v_scrollbar( self : Fl_Text_Display )" },
  { dao_Fl_Text_Display_vline_length, "vline_length( self : Fl_Text_Display, visLineNum : int )=>int" },
  { dao_Fl_Text_Display_word_end, "word_end( self : Fl_Text_Display, pos : int )=>int" },
  { dao_Fl_Text_Display_word_start, "word_start( self : Fl_Text_Display, pos : int )=>int" },
  { dao_Fl_Text_Display_wrap_mode, "wrap_mode( self : Fl_Text_Display, wrap : int, wrap_margin : int )" },
  { dao_Fl_Text_Display_wrap_uses_character, "wrap_uses_character( self : Fl_Text_Display, lineEndPos : int )=>int" },
  { dao_Fl_Text_Display_wrapped_column, "wrapped_column( self : Fl_Text_Display, row : int, column : int )=>int" },
  { dao_Fl_Text_Display_wrapped_line_counter, "wrapped_line_counter( self : Fl_Text_Display, buf : Fl_Text_Buffer, startPos : int, maxPos : int, maxLines : int, startPosIsLineStart : int, styleBufOffset : int, retPos : int, retLines : int, retLineStart : int, retLineEnd : array<int>, countLastLineMissingNewLine : int = true )" },
  { dao_Fl_Text_Display_wrapped_row, "wrapped_row( self : Fl_Text_Display, row : int )=>int" },
  { dao_Fl_Text_Display_xy_to_position, "xy_to_position( self : Fl_Text_Display, x : int, y : int, PosType : int = CHARACTER_POS )=>int" },
  { dao_Fl_Text_Display_xy_to_rowcol, "xy_to_rowcol( self : Fl_Text_Display, x : int, y : int, row : int, column : array<int>, PosType : int = CHARACTER_POS )" },
  { NULL, NULL }
};
static void Dao_Fl_Text_Display_Delete( void *self )
{
	delete (Fl_Text_Display*) self;
}
void* dao_cast_Fl_Text_Display_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Text_Display*)data;
}

static DaoTypeBase Fl_Text_Display_Typer = 
{ "Fl_Text_Display", NULL, 
  dao_Fl_Text_Display_Nums,
  dao_Fl_Text_Display_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Text_Display_to_Fl_Group,0 },
  Dao_Fl_Text_Display_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Text_Display_Typer = & Fl_Text_Display_Typer;
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_Fl_Text_Display( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Text_Display *_self = DaoCxx_Fl_Text_Display_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_absolute_top_line_number( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int oldFirstChar= (int) _p[1]->v.i;
  self->DaoWrap_absolute_top_line_number( oldFirstChar );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_buffer_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Text_Buffer* _buffer = self->Fl_Text_Display::buffer(  );
  DaoContext_WrapCData( _ctx, (void*) _buffer, dao_Fl_Text_Buffer_Typer );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_buffer_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Text_Buffer* buf= (Fl_Text_Buffer*) DValue_CastCData( _p[1], dao_Fl_Text_Buffer_Typer );
  self->Fl_Text_Display::buffer( *buf );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_buffer( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Text_Buffer* buf= (Fl_Text_Buffer*) DValue_CastCData( _p[1], dao_Fl_Text_Buffer_Typer );
  self->Fl_Text_Display::buffer( buf );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_calc_last_char( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  self->DaoWrap_calc_last_char(  );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_calc_line_starts( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int startLine= (int) _p[1]->v.i;
  int endLine= (int) _p[2]->v.i;
  self->DaoWrap_calc_line_starts( startLine, endLine );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_clear_rect( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int style= (int) _p[1]->v.i;
  int x= (int) _p[2]->v.i;
  int y= (int) _p[3]->v.i;
  int width= (int) _p[4]->v.i;
  int height= (int) _p[5]->v.i;
  self->DaoWrap_clear_rect( style, x, y, width, height );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_count_lines( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  bool start_pos_is_line_start= (bool) _p[3]->v.i;
  int _count_lines = self->Fl_Text_Display::count_lines( start, end, start_pos_is_line_start );
  DaoContext_PutInteger( _ctx, (int) _count_lines );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_cursor_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Color _cursor_color = self->Fl_Text_Display::cursor_color(  );
  DaoContext_PutInteger( _ctx, (int) _cursor_color );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_cursor_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Color n= (Fl_Color) _p[1]->v.i;
  self->Fl_Text_Display::cursor_color( n );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_cursor_style( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int style= (int) _p[1]->v.i;
  self->Fl_Text_Display::cursor_style( style );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_display_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  self->DaoWrap_display_insert(  );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_draw_cursor( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  self->DaoWrap_draw_cursor( _cp0, _cp1 );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_draw_line_numbers( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  bool clearAll= (bool) _p[1]->v.i;
  self->DaoWrap_draw_line_numbers( clearAll );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_draw_range( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  self->DaoWrap_draw_range( start, end );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_draw_string( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int style= (int) _p[1]->v.i;
  int x= (int) _p[2]->v.i;
  int y= (int) _p[3]->v.i;
  int toX= (int) _p[4]->v.i;
  char* string= (char*) DValue_GetMBString( _p[5] );
  int nChars= (int) _p[6]->v.i;
  self->DaoWrap_draw_string( style, x, y, toX, string, nChars );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_draw_text( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  self->DaoWrap_draw_text( X, Y, W, H );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_draw_vline( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int visLineNum= (int) _p[1]->v.i;
  int leftClip= (int) _p[2]->v.i;
  int rightClip= (int) _p[3]->v.i;
  int leftCharIndex= (int) _p[4]->v.i;
  int rightCharIndex= (int) _p[5]->v.i;
  self->DaoWrap_draw_vline( visLineNum, leftClip, rightClip, leftCharIndex, rightCharIndex );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_empty_vlines( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int _empty_vlines = self->DaoWrap_empty_vlines(  );
  DaoContext_PutInteger( _ctx, (int) _empty_vlines );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_extend_range_for_styles( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  self->DaoWrap_extend_range_for_styles( & start, & end );
  _p[1]->v.i = (int) start;
  _p[2]->v.i = (int) end;
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_find_line_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int pos= (int) _p[1]->v.i;
  bool start_pos_is_line_start= (bool) _p[2]->v.i;
  int lineEnd= (int) _p[3]->v.i;
  int nextLineStart= (int) _p[4]->v.i;
  self->DaoWrap_find_line_end( pos, start_pos_is_line_start, & lineEnd, & nextLineStart );
  _p[3]->v.i = (int) lineEnd;
  _p[4]->v.i = (int) nextLineStart;
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_find_wrap_range( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  char* deletedText= (char*) DValue_GetMBString( _p[1] );
  int pos= (int) _p[2]->v.i;
  int nInserted= (int) _p[3]->v.i;
  int nDeleted= (int) _p[4]->v.i;
  int modRangeStart= (int) _p[5]->v.i;
  int modRangeEnd= (int) _p[6]->v.i;
  int linesInserted= (int) _p[7]->v.i;
  int linesDeleted= (int) _p[8]->v.i;
  self->DaoWrap_find_wrap_range( deletedText, pos, nInserted, nDeleted, & modRangeStart, & modRangeEnd, & linesInserted, & linesDeleted );
  _p[5]->v.i = (int) modRangeStart;
  _p[6]->v.i = (int) modRangeEnd;
  _p[7]->v.i = (int) linesInserted;
  _p[8]->v.i = (int) linesDeleted;
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_get_absolute_top_line_number( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int _get_absolute_top_line_number = self->DaoWrap_get_absolute_top_line_number(  );
  DaoContext_PutInteger( _ctx, (int) _get_absolute_top_line_number );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_handle__Fl_Text_Display( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int e= (int) _p[1]->v.i;
  int _handle = self->Fl_Text_Display::handle( e );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Text_Display_handle__Fl_Text_Display( _ctx, _p, _n );
    return;
  }
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int e= (int) _p[1]->v.i;
  int _handle = self->handle( e );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_hide_cursor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  self->Fl_Text_Display::hide_cursor(  );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_in_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int _in_selection = self->Fl_Text_Display::in_selection( x, y );
  DaoContext_PutInteger( _ctx, (int) _in_selection );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  char* text= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Text_Display::insert( text );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_insert_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int _insert_position = self->Fl_Text_Display::insert_position(  );
  DaoContext_PutInteger( _ctx, (int) _insert_position );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_insert_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int newPos= (int) _p[1]->v.i;
  self->Fl_Text_Display::insert_position( newPos );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_line_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int pos= (int) _p[1]->v.i;
  bool start_pos_is_line_start= (bool) _p[2]->v.i;
  int _line_end = self->Fl_Text_Display::line_end( pos, start_pos_is_line_start );
  DaoContext_PutInteger( _ctx, (int) _line_end );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_line_start( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int pos= (int) _p[1]->v.i;
  int _line_start = self->Fl_Text_Display::line_start( pos );
  DaoContext_PutInteger( _ctx, (int) _line_start );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_longest_vline( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int _longest_vline = self->DaoWrap_longest_vline(  );
  DaoContext_PutInteger( _ctx, (int) _longest_vline );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_maintain_absolute_top_line_number( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int state= (int) _p[1]->v.i;
  self->DaoWrap_maintain_absolute_top_line_number( state );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_maintaining_absolute_top_line_number( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int _maintaining_absolute_top_line_number = self->DaoWrap_maintaining_absolute_top_line_number(  );
  DaoContext_PutInteger( _ctx, (int) _maintaining_absolute_top_line_number );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_measure_deleted_lines( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int pos= (int) _p[1]->v.i;
  int nDeleted= (int) _p[2]->v.i;
  self->DaoWrap_measure_deleted_lines( pos, nDeleted );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_measure_proportional_character( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  char c= (char) _p[1]->v.i;
  int colNum= (int) _p[2]->v.i;
  int pos= (int) _p[3]->v.i;
  int _measure_proportional_character = self->DaoWrap_measure_proportional_character( c, colNum, pos );
  DaoContext_PutInteger( _ctx, (int) _measure_proportional_character );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_measure_vline( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int visLineNum= (int) _p[1]->v.i;
  int _measure_vline = self->DaoWrap_measure_vline( visLineNum );
  DaoContext_PutInteger( _ctx, (int) _measure_vline );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_move_down( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int _move_down = self->Fl_Text_Display::move_down(  );
  DaoContext_PutInteger( _ctx, (int) _move_down );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_move_left( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int _move_left = self->Fl_Text_Display::move_left(  );
  DaoContext_PutInteger( _ctx, (int) _move_left );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_move_right( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int _move_right = self->Fl_Text_Display::move_right(  );
  DaoContext_PutInteger( _ctx, (int) _move_right );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_move_up( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int _move_up = self->Fl_Text_Display::move_up(  );
  DaoContext_PutInteger( _ctx, (int) _move_up );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_next_word( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  self->Fl_Text_Display::next_word(  );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_offset_line_starts( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int newTopLineNum= (int) _p[1]->v.i;
  self->DaoWrap_offset_line_starts( newTopLineNum );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_overstrike( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  char* text= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Text_Display::overstrike( text );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_position_style( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int lineStartPos= (int) _p[1]->v.i;
  int lineLen= (int) _p[2]->v.i;
  int lineIndex= (int) _p[3]->v.i;
  int dispIndex= (int) _p[4]->v.i;
  int _position_style = self->Fl_Text_Display::position_style( lineStartPos, lineLen, lineIndex, dispIndex );
  DaoContext_PutInteger( _ctx, (int) _position_style );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_position_to_line( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int pos= (int) _p[1]->v.i;
  int lineNum= (int) _p[2]->v.i;
  int _position_to_line = self->DaoWrap_position_to_line( pos, & lineNum );
  _p[2]->v.i = (int) lineNum;
  DaoContext_PutInteger( _ctx, (int) _position_to_line );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_position_to_linecol( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int pos= (int) _p[1]->v.i;
  int lineNum= (int) _p[2]->v.i;
  int column= (int) _p[3]->v.i;
  int _position_to_linecol = self->DaoWrap_position_to_linecol( pos, & lineNum, & column );
  _p[2]->v.i = (int) lineNum;
  _p[3]->v.i = (int) column;
  DaoContext_PutInteger( _ctx, (int) _position_to_linecol );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_position_to_xy( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int pos= (int) _p[1]->v.i;
  int x= (int) _p[2]->v.i;
  int y= (int) _p[3]->v.i;
  int _position_to_xy = self->DaoWrap_position_to_xy( pos, & x, & y );
  _p[2]->v.i = (int) x;
  _p[3]->v.i = (int) y;
  DaoContext_PutInteger( _ctx, (int) _position_to_xy );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_previous_word( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  self->Fl_Text_Display::previous_word(  );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_range_touches_selection( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Text_Selection* sel= (Fl_Text_Selection*) DValue_CastCData( _p[1], dao_Fl_Text_Selection_Typer );
  int rangeStart= (int) _p[2]->v.i;
  int rangeEnd= (int) _p[3]->v.i;
  int _range_touches_selection = self->DaoWrap_range_touches_selection( sel, rangeStart, rangeEnd );
  DaoContext_PutInteger( _ctx, (int) _range_touches_selection );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_redisplay_range( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  self->Fl_Text_Display::redisplay_range( start, end );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_reset_absolute_top_line_number( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  self->DaoWrap_reset_absolute_top_line_number(  );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_resize__Fl_Text_Display( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  self->Fl_Text_Display::resize( X, Y, W, H );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Text_Display_resize__Fl_Text_Display( _ctx, _p, _n );
    return;
  }
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  self->resize( X, Y, W, H );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_rewind_lines( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int startPos= (int) _p[1]->v.i;
  int nLines= (int) _p[2]->v.i;
  int _rewind_lines = self->Fl_Text_Display::rewind_lines( startPos, nLines );
  DaoContext_PutInteger( _ctx, (int) _rewind_lines );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_scroll( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int topLineNum= (int) _p[1]->v.i;
  int horizOffset= (int) _p[2]->v.i;
  self->Fl_Text_Display::scroll( topLineNum, horizOffset );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_scroll_( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int topLineNum= (int) _p[1]->v.i;
  int horizOffset= (int) _p[2]->v.i;
  self->DaoWrap_scroll_( topLineNum, horizOffset );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_scrollbar_align( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Align _scrollbar_align = self->Fl_Text_Display::scrollbar_align(  );
  DaoContext_PutInteger( _ctx, (int) _scrollbar_align );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_scrollbar_align_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Align a= (Fl_Align) _p[1]->v.i;
  self->Fl_Text_Display::scrollbar_align( a );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_scrollbar_width( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int _scrollbar_width = self->Fl_Text_Display::scrollbar_width(  );
  DaoContext_PutInteger( _ctx, (int) _scrollbar_width );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_scrollbar_width_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int W= (int) _p[1]->v.i;
  self->Fl_Text_Display::scrollbar_width( W );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_shortcut( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int _shortcut = self->Fl_Text_Display::shortcut(  );
  DaoContext_PutInteger( _ctx, (int) _shortcut );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_shortcut_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int s= (int) _p[1]->v.i;
  self->Fl_Text_Display::shortcut( s );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_show_cursor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int b= (int) _p[1]->v.i;
  self->Fl_Text_Display::show_cursor( b );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_show_insert_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  self->Fl_Text_Display::show_insert_position(  );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_skip_lines( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int startPos= (int) _p[1]->v.i;
  int nLines= (int) _p[2]->v.i;
  bool startPosIsLineStart= (bool) _p[3]->v.i;
  int _skip_lines = self->Fl_Text_Display::skip_lines( startPos, nLines, startPosIsLineStart );
  DaoContext_PutInteger( _ctx, (int) _skip_lines );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_string_width( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  char* string= (char*) DValue_GetMBString( _p[1] );
  int length= (int) _p[2]->v.i;
  int style= (int) _p[3]->v.i;
  int _string_width = self->DaoWrap_string_width( string, length, style );
  DaoContext_PutInteger( _ctx, (int) _string_width );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Color _textcolor = self->Fl_Text_Display::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Color n= (Fl_Color) _p[1]->v.i;
  self->Fl_Text_Display::textcolor( n );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Font _textfont = self->Fl_Text_Display::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Font s= (Fl_Font) _p[1]->v.i;
  self->Fl_Text_Display::textfont( s );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Fontsize _textsize = self->Fl_Text_Display::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Text_Display::textsize( s );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_update_h_scrollbar( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  self->DaoWrap_update_h_scrollbar(  );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_update_line_starts( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int pos= (int) _p[1]->v.i;
  int charsInserted= (int) _p[2]->v.i;
  int charsDeleted= (int) _p[3]->v.i;
  int linesInserted= (int) _p[4]->v.i;
  int linesDeleted= (int) _p[5]->v.i;
  int scrolled= (int) _p[6]->v.i;
  self->DaoWrap_update_line_starts( pos, charsInserted, charsDeleted, linesInserted, linesDeleted, & scrolled );
  _p[6]->v.i = (int) scrolled;
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_update_v_scrollbar( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  self->DaoWrap_update_v_scrollbar(  );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_vline_length( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int visLineNum= (int) _p[1]->v.i;
  int _vline_length = self->DaoWrap_vline_length( visLineNum );
  DaoContext_PutInteger( _ctx, (int) _vline_length );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_word_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int pos= (int) _p[1]->v.i;
  int _word_end = self->Fl_Text_Display::word_end( pos );
  DaoContext_PutInteger( _ctx, (int) _word_end );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_word_start( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int pos= (int) _p[1]->v.i;
  int _word_start = self->Fl_Text_Display::word_start( pos );
  DaoContext_PutInteger( _ctx, (int) _word_start );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_wrap_mode( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int wrap= (int) _p[1]->v.i;
  int wrap_margin= (int) _p[2]->v.i;
  self->Fl_Text_Display::wrap_mode( wrap, wrap_margin );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_wrap_uses_character( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int lineEndPos= (int) _p[1]->v.i;
  int _wrap_uses_character = self->DaoWrap_wrap_uses_character( lineEndPos );
  DaoContext_PutInteger( _ctx, (int) _wrap_uses_character );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_wrapped_column( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int row= (int) _p[1]->v.i;
  int column= (int) _p[2]->v.i;
  int _wrapped_column = self->Fl_Text_Display::wrapped_column( row, column );
  DaoContext_PutInteger( _ctx, (int) _wrapped_column );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_wrapped_line_counter( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  Fl_Text_Buffer* buf= (Fl_Text_Buffer*) DValue_CastCData( _p[1], dao_Fl_Text_Buffer_Typer );
  int startPos= (int) _p[2]->v.i;
  int maxPos= (int) _p[3]->v.i;
  int maxLines= (int) _p[4]->v.i;
  bool startPosIsLineStart= (bool) _p[5]->v.i;
  int styleBufOffset= (int) _p[6]->v.i;
  int retPos= (int) _p[7]->v.i;
  int retLines= (int) _p[8]->v.i;
  int retLineStart= (int) _p[9]->v.i;
  int* retLineEnd= (int*) DaoArray_ToInt( _p[10]->v.array );
  bool countLastLineMissingNewLine= (bool) _p[11]->v.i;
  self->DaoWrap_wrapped_line_counter( buf, startPos, maxPos, maxLines, startPosIsLineStart, styleBufOffset, & retPos, & retLines, & retLineStart, retLineEnd, countLastLineMissingNewLine );
  _p[7]->v.i = (int) retPos;
  _p[8]->v.i = (int) retLines;
  _p[9]->v.i = (int) retLineStart;
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_wrapped_row( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Display* self= (Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int row= (int) _p[1]->v.i;
  int _wrapped_row = self->Fl_Text_Display::wrapped_row( row );
  DaoContext_PutInteger( _ctx, (int) _wrapped_row );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_xy_to_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int PosType= (int) _p[3]->v.i;
  int _xy_to_position = self->DaoWrap_xy_to_position( x, y, PosType );
  DaoContext_PutInteger( _ctx, (int) _xy_to_position );
}
/* Fl_Text_Display.H */
static void dao_Fl_Text_Display_xy_to_rowcol( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Display *self = (DaoCxx_Fl_Text_Display*) DValue_CastCData( _p[0], dao_Fl_Text_Display_Typer );
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int row= (int) _p[3]->v.i;
  int* column= (int*) DaoArray_ToInt( _p[4]->v.array );
  int PosType= (int) _p[5]->v.i;
  self->DaoWrap_xy_to_rowcol( x, y, & row, column, PosType );
  _p[3]->v.i = (int) row;
}

/*  Fl_Text_Display.H */


static DaoNumItem dao_Fl_Text_Display_Style_Table_Entry_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Text_Display_Style_Table_Entry_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Text_Display_Style_Table_Entry_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Text_Display_Style_Table_Entry_Typer = 
{ "Fl_Text_Display_Style_Table_Entry", NULL, 
  dao_Fl_Text_Display_Style_Table_Entry_Nums,
  dao_Fl_Text_Display_Style_Table_Entry_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Text_Display_Style_Table_Entry_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Text_Display_Style_Table_Entry_Typer = & Fl_Text_Display_Style_Table_Entry_Typer;

/*  Fl_Text_Display.H */


static DaoNumItem dao_Fl_Text_Display_Unfinished_Style_Cb_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Text_Display_Unfinished_Style_Cb_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Text_Display_Unfinished_Style_Cb_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Text_Display_Unfinished_Style_Cb_Typer = 
{ "Fl_Text_Display_Unfinished_Style_Cb", NULL, 
  dao_Fl_Text_Display_Unfinished_Style_Cb_Nums,
  dao_Fl_Text_Display_Unfinished_Style_Cb_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Text_Display_Unfinished_Style_Cb_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Text_Display_Unfinished_Style_Cb_Typer = & Fl_Text_Display_Unfinished_Style_Cb_Typer;

/*  Fl_Text_Display.H */


static DaoNumItem dao_Fl_Text_Display_Unfinished_Style_Cb_x_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Text_Display_Unfinished_Style_Cb_x_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Text_Display_Unfinished_Style_Cb_x_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Text_Display_Unfinished_Style_Cb_x_Typer = 
{ "Fl_Text_Display_Unfinished_Style_Cb_x", NULL, 
  dao_Fl_Text_Display_Unfinished_Style_Cb_x_Nums,
  dao_Fl_Text_Display_Unfinished_Style_Cb_x_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Text_Display_Unfinished_Style_Cb_x_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Text_Display_Unfinished_Style_Cb_x_Typer = & Fl_Text_Display_Unfinished_Style_Cb_x_Typer;

/*  Fl_Text_Editor.H */


static DaoNumItem dao_Fl_Text_Editor_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Text_Editor_Fl_Text_Editor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_add_default_key_bindings( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_handle__Fl_Text_Editor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_handle_key( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_insert_mode_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_insert_mode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_backspace( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_c_s_move( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_copy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_ctrl_move( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_cut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_default( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_delete( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_down( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_enter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_home( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_ignore( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_left( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_m_s_move( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_meta_move( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_move( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_page_down( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_page_up( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_paste( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_right( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_select_all( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_shift_move( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_undo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_kf_up( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_maybe_do_callback( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_remove_all_key_bindings_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_remove_all_key_bindings( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_remove_key_binding_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Editor_remove_key_binding( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Text_Editor_Meths[] = 
{
  { dao_Fl_Text_Editor_Fl_Text_Editor, "Fl_Text_Editor( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Text_Editor" },
  { dao_Fl_Text_Editor_add_default_key_bindings, "add_default_key_bindings( self : Fl_Text_Editor, list : Fl_Text_Editor_Key_Binding )" },
  { dao_Fl_Text_Editor_handle, "handle( self : Fl_Text_Editor, e : int )=>int" },
  { dao_Fl_Text_Editor_handle_key, "handle_key( self : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_insert_mode_dao_2, "insert_mode( self : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_insert_mode, "insert_mode( self : Fl_Text_Editor, b : int )" },
  { dao_Fl_Text_Editor_kf_backspace, "kf_backspace( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_c_s_move, "kf_c_s_move( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_copy, "kf_copy( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_ctrl_move, "kf_ctrl_move( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_cut, "kf_cut( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_default, "kf_default( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_delete, "kf_delete( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_down, "kf_down( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_end, "kf_end( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_enter, "kf_enter( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_home, "kf_home( _cp0 : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_ignore, "kf_ignore( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_insert, "kf_insert( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_left, "kf_left( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_m_s_move, "kf_m_s_move( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_meta_move, "kf_meta_move( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_move, "kf_move( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_page_down, "kf_page_down( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_page_up, "kf_page_up( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_paste, "kf_paste( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_right, "kf_right( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_select_all, "kf_select_all( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_shift_move, "kf_shift_move( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_undo, "kf_undo( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_kf_up, "kf_up( c : int, e : Fl_Text_Editor )=>int" },
  { dao_Fl_Text_Editor_maybe_do_callback, "maybe_do_callback( self : Fl_Text_Editor )" },
  { dao_Fl_Text_Editor_remove_all_key_bindings_dao_2, "remove_all_key_bindings( self : Fl_Text_Editor )" },
  { dao_Fl_Text_Editor_remove_all_key_bindings, "remove_all_key_bindings( self : Fl_Text_Editor, list : Fl_Text_Editor_Key_Binding )" },
  { dao_Fl_Text_Editor_remove_key_binding_dao_2, "remove_key_binding( self : Fl_Text_Editor, key : int, state : int )" },
  { dao_Fl_Text_Editor_remove_key_binding, "remove_key_binding( self : Fl_Text_Editor, key : int, state : int, list : Fl_Text_Editor_Key_Binding )" },
  { NULL, NULL }
};
static void Dao_Fl_Text_Editor_Delete( void *self )
{
	delete (Fl_Text_Editor*) self;
}
void* dao_cast_Fl_Text_Editor_to_Fl_Text_Display( void *data )
{
	return (Fl_Text_Display*)(Fl_Text_Editor*)data;
}

static DaoTypeBase Fl_Text_Editor_Typer = 
{ "Fl_Text_Editor", NULL, 
  dao_Fl_Text_Editor_Nums,
  dao_Fl_Text_Editor_Meths, 
  { dao_Fl_Text_Display_Typer, 0 },
  { dao_cast_Fl_Text_Editor_to_Fl_Text_Display,0 },
  Dao_Fl_Text_Editor_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Text_Editor_Typer = & Fl_Text_Editor_Typer;
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_Fl_Text_Editor( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Text_Editor *_self = DaoCxx_Fl_Text_Editor_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_add_default_key_bindings( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Editor* self= (Fl_Text_Editor*) DValue_CastCData( _p[0], dao_Fl_Text_Editor_Typer );
  Fl_Text_Editor::Key_Binding** list= (Fl_Text_Editor::Key_Binding**) DValue_GetCData2( _p[1] );
  self->Fl_Text_Editor::add_default_key_bindings( list );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_handle__Fl_Text_Editor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Editor* self= (Fl_Text_Editor*) DValue_CastCData( _p[0], dao_Fl_Text_Editor_Typer );
  int e= (int) _p[1]->v.i;
  int _handle = self->Fl_Text_Editor::handle( e );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Text_Editor_handle__Fl_Text_Editor( _ctx, _p, _n );
    return;
  }
  Fl_Text_Editor* self= (Fl_Text_Editor*) DValue_CastCData( _p[0], dao_Fl_Text_Editor_Typer );
  int e= (int) _p[1]->v.i;
  int _handle = self->handle( e );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_handle_key( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Editor *self = (DaoCxx_Fl_Text_Editor*) DValue_CastCData( _p[0], dao_Fl_Text_Editor_Typer );
  int _handle_key = self->DaoWrap_handle_key(  );
  DaoContext_PutInteger( _ctx, (int) _handle_key );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_insert_mode_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Editor* self= (Fl_Text_Editor*) DValue_CastCData( _p[0], dao_Fl_Text_Editor_Typer );
  int _insert_mode = self->Fl_Text_Editor::insert_mode(  );
  DaoContext_PutInteger( _ctx, (int) _insert_mode );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_insert_mode( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Editor* self= (Fl_Text_Editor*) DValue_CastCData( _p[0], dao_Fl_Text_Editor_Typer );
  int b= (int) _p[1]->v.i;
  self->Fl_Text_Editor::insert_mode( b );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_backspace( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_backspace = Fl_Text_Editor::kf_backspace( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_backspace );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_c_s_move( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_c_s_move = Fl_Text_Editor::kf_c_s_move( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_c_s_move );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_copy( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_copy = Fl_Text_Editor::kf_copy( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_copy );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_ctrl_move( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_ctrl_move = Fl_Text_Editor::kf_ctrl_move( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_ctrl_move );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_cut( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_cut = Fl_Text_Editor::kf_cut( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_cut );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_default( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_default = Fl_Text_Editor::kf_default( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_default );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_delete( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_delete = Fl_Text_Editor::kf_delete( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_delete );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_down( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_down = Fl_Text_Editor::kf_down( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_down );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_end = Fl_Text_Editor::kf_end( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_end );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_enter( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_enter = Fl_Text_Editor::kf_enter( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_enter );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_home( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_home = Fl_Text_Editor::kf_home( _cp0, e );
  DaoContext_PutInteger( _ctx, (int) _kf_home );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_ignore( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_ignore = Fl_Text_Editor::kf_ignore( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_ignore );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_insert = Fl_Text_Editor::kf_insert( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_insert );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_left( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_left = Fl_Text_Editor::kf_left( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_left );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_m_s_move( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_m_s_move = Fl_Text_Editor::kf_m_s_move( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_m_s_move );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_meta_move( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_meta_move = Fl_Text_Editor::kf_meta_move( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_meta_move );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_move( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_move = Fl_Text_Editor::kf_move( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_move );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_page_down( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_page_down = Fl_Text_Editor::kf_page_down( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_page_down );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_page_up( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_page_up = Fl_Text_Editor::kf_page_up( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_page_up );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_paste( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_paste = Fl_Text_Editor::kf_paste( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_paste );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_right( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_right = Fl_Text_Editor::kf_right( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_right );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_select_all( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_select_all = Fl_Text_Editor::kf_select_all( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_select_all );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_shift_move( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_shift_move = Fl_Text_Editor::kf_shift_move( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_shift_move );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_undo( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_undo = Fl_Text_Editor::kf_undo( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_undo );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_kf_up( DaoContext *_ctx, DValue *_p[], int _n )
{
  int c= (int) _p[0]->v.i;
  Fl_Text_Editor* e= (Fl_Text_Editor*) DValue_CastCData( _p[1], dao_Fl_Text_Editor_Typer );
  int _kf_up = Fl_Text_Editor::kf_up( c, e );
  DaoContext_PutInteger( _ctx, (int) _kf_up );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_maybe_do_callback( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Text_Editor *self = (DaoCxx_Fl_Text_Editor*) DValue_CastCData( _p[0], dao_Fl_Text_Editor_Typer );
  self->DaoWrap_maybe_do_callback(  );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_remove_all_key_bindings_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Editor* self= (Fl_Text_Editor*) DValue_CastCData( _p[0], dao_Fl_Text_Editor_Typer );
  self->Fl_Text_Editor::remove_all_key_bindings(  );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_remove_all_key_bindings( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Editor* self= (Fl_Text_Editor*) DValue_CastCData( _p[0], dao_Fl_Text_Editor_Typer );
  Fl_Text_Editor::Key_Binding** list= (Fl_Text_Editor::Key_Binding**) DValue_GetCData2( _p[1] );
  self->Fl_Text_Editor::remove_all_key_bindings( list );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_remove_key_binding_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Editor* self= (Fl_Text_Editor*) DValue_CastCData( _p[0], dao_Fl_Text_Editor_Typer );
  int key= (int) _p[1]->v.i;
  int state= (int) _p[2]->v.i;
  self->Fl_Text_Editor::remove_key_binding( key, state );
}
/* Fl_Text_Editor.H */
static void dao_Fl_Text_Editor_remove_key_binding( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Editor* self= (Fl_Text_Editor*) DValue_CastCData( _p[0], dao_Fl_Text_Editor_Typer );
  int key= (int) _p[1]->v.i;
  int state= (int) _p[2]->v.i;
  Fl_Text_Editor::Key_Binding** list= (Fl_Text_Editor::Key_Binding**) DValue_GetCData2( _p[3] );
  self->Fl_Text_Editor::remove_key_binding( key, state, list );
}

/*  Fl_Text_Editor.H */


static DaoNumItem dao_Fl_Text_Editor_Key_Binding_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Text_Editor_Key_Binding_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Text_Editor_Key_Binding_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Text_Editor_Key_Binding_Typer = 
{ "Fl_Text_Editor_Key_Binding", NULL, 
  dao_Fl_Text_Editor_Key_Binding_Nums,
  dao_Fl_Text_Editor_Key_Binding_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Text_Editor_Key_Binding_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Text_Editor_Key_Binding_Typer = & Fl_Text_Editor_Key_Binding_Typer;

/*  Fl_Text_Editor.H */


static DaoNumItem dao_Fl_Text_Editor_Key_Func_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Text_Editor_Key_Func_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Text_Editor_Key_Func_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Text_Editor_Key_Func_Typer = 
{ "Fl_Text_Editor_Key_Func", NULL, 
  dao_Fl_Text_Editor_Key_Func_Nums,
  dao_Fl_Text_Editor_Key_Func_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Text_Editor_Key_Func_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Text_Editor_Key_Func_Typer = & Fl_Text_Editor_Key_Func_Typer;

/*  Fl_Text_Editor.H */


static DaoNumItem dao_Fl_Text_Editor_Key_Func_x_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Text_Editor_Key_Func_x_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Text_Editor_Key_Func_x_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Text_Editor_Key_Func_x_Typer = 
{ "Fl_Text_Editor_Key_Func_x", NULL, 
  dao_Fl_Text_Editor_Key_Func_x_Nums,
  dao_Fl_Text_Editor_Key_Func_x_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Text_Editor_Key_Func_x_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Text_Editor_Key_Func_x_Typer = & Fl_Text_Editor_Key_Func_x_Typer;

/*  Fl_Text_Buffer.H */


static DaoNumItem dao_Fl_Text_Selection_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Text_Selection_Fl_Text_Selection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_includes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_rect_end( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_rect_start( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_rectangular( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_selected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_selected_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_set( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_set_rectangular( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_start( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Text_Selection_update( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Text_Selection_Meths[] = 
{
  { dao_Fl_Text_Selection_Fl_Text_Selection, "Fl_Text_Selection(  )=>Fl_Text_Selection" },
  { dao_Fl_Text_Selection_end, "end( self : Fl_Text_Selection )=>int" },
  { dao_Fl_Text_Selection_includes, "includes( self : Fl_Text_Selection, pos : int, lineStartPos : int, dispIndex : int )=>int" },
  { dao_Fl_Text_Selection_position, "position( self : Fl_Text_Selection, start : int, end : int )=>int" },
  { dao_Fl_Text_Selection_position_dao_2, "position( self : Fl_Text_Selection, start : int, end : int, isRect : int, rectStart : int, rectEnd : int )=>int" },
  { dao_Fl_Text_Selection_rect_end, "rect_end( self : Fl_Text_Selection )=>int" },
  { dao_Fl_Text_Selection_rect_start, "rect_start( self : Fl_Text_Selection )=>int" },
  { dao_Fl_Text_Selection_rectangular, "rectangular( self : Fl_Text_Selection )=>int" },
  { dao_Fl_Text_Selection_selected, "selected( self : Fl_Text_Selection )=>int" },
  { dao_Fl_Text_Selection_selected_dao_2, "selected( self : Fl_Text_Selection, b : int )" },
  { dao_Fl_Text_Selection_set, "set( self : Fl_Text_Selection, start : int, end : int )" },
  { dao_Fl_Text_Selection_set_rectangular, "set_rectangular( self : Fl_Text_Selection, start : int, end : int, rectStart : int, rectEnd : int )" },
  { dao_Fl_Text_Selection_start, "start( self : Fl_Text_Selection )=>int" },
  { dao_Fl_Text_Selection_update, "update( self : Fl_Text_Selection, pos : int, nDeleted : int, nInserted : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Text_Selection_Delete( void *self )
{
	delete (Fl_Text_Selection*) self;
}

static DaoTypeBase Fl_Text_Selection_Typer = 
{ "Fl_Text_Selection", NULL, 
  dao_Fl_Text_Selection_Nums,
  dao_Fl_Text_Selection_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Text_Selection_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Text_Selection_Typer = & Fl_Text_Selection_Typer;
static void dao_Fl_Text_Selection_Fl_Text_Selection( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Text_Selection *self = Dao_Fl_Text_Selection_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Text_Selection_Typer );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  int _end = self->Fl_Text_Selection::end(  );
  DaoContext_PutInteger( _ctx, (int) _end );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_includes( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  int pos= (int) _p[1]->v.i;
  int lineStartPos= (int) _p[2]->v.i;
  int dispIndex= (int) _p[3]->v.i;
  int _includes = self->Fl_Text_Selection::includes( pos, lineStartPos, dispIndex );
  DaoContext_PutInteger( _ctx, (int) _includes );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int _position = self->Fl_Text_Selection::position( & start, & end );
  _p[1]->v.i = (int) start;
  _p[2]->v.i = (int) end;
  DaoContext_PutInteger( _ctx, (int) _position );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_position_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int isRect= (int) _p[3]->v.i;
  int rectStart= (int) _p[4]->v.i;
  int rectEnd= (int) _p[5]->v.i;
  int _position = self->Fl_Text_Selection::position( & start, & end, & isRect, & rectStart, & rectEnd );
  _p[1]->v.i = (int) start;
  _p[2]->v.i = (int) end;
  _p[3]->v.i = (int) isRect;
  _p[4]->v.i = (int) rectStart;
  _p[5]->v.i = (int) rectEnd;
  DaoContext_PutInteger( _ctx, (int) _position );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_rect_end( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  int _rect_end = self->Fl_Text_Selection::rect_end(  );
  DaoContext_PutInteger( _ctx, (int) _rect_end );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_rect_start( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  int _rect_start = self->Fl_Text_Selection::rect_start(  );
  DaoContext_PutInteger( _ctx, (int) _rect_start );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_rectangular( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  char _rectangular = self->Fl_Text_Selection::rectangular(  );
  DaoContext_PutInteger( _ctx, (int) _rectangular );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_selected( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  char _selected = self->Fl_Text_Selection::selected(  );
  DaoContext_PutInteger( _ctx, (int) _selected );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_selected_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  char b= (char) _p[1]->v.i;
  self->Fl_Text_Selection::selected( b );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_set( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  self->Fl_Text_Selection::set( start, end );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_set_rectangular( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  int start= (int) _p[1]->v.i;
  int end= (int) _p[2]->v.i;
  int rectStart= (int) _p[3]->v.i;
  int rectEnd= (int) _p[4]->v.i;
  self->Fl_Text_Selection::set_rectangular( start, end, rectStart, rectEnd );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_start( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  int _start = self->Fl_Text_Selection::start(  );
  DaoContext_PutInteger( _ctx, (int) _start );
}
/* Fl_Text_Buffer.H */
static void dao_Fl_Text_Selection_update( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Text_Selection* self= (Fl_Text_Selection*) DValue_CastCData( _p[0], dao_Fl_Text_Selection_Typer );
  int pos= (int) _p[1]->v.i;
  int nDeleted= (int) _p[2]->v.i;
  int nInserted= (int) _p[3]->v.i;
  self->Fl_Text_Selection::update( pos, nDeleted, nInserted );
}

/*  Fl_Tile.H */


static DaoNumItem dao_Fl_Tile_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Tile_Fl_Tile( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tile_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tile_position( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tile_resize( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Tile_Meths[] = 
{
  { dao_Fl_Tile_Fl_Tile, "Fl_Tile( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Tile" },
  { dao_Fl_Tile_handle, "handle( self : Fl_Tile, _cp0 : int )=>int" },
  { dao_Fl_Tile_position, "position( self : Fl_Tile, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Tile_resize, "resize( self : Fl_Tile, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Tile_Delete( void *self )
{
	delete (Fl_Tile*) self;
}
void* dao_cast_Fl_Tile_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Tile*)data;
}

static DaoTypeBase Fl_Tile_Typer = 
{ "Fl_Tile", NULL, 
  dao_Fl_Tile_Nums,
  dao_Fl_Tile_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Tile_to_Fl_Group,0 },
  Dao_Fl_Tile_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Tile_Typer = & Fl_Tile_Typer;
/* Fl_Tile.H */
static void dao_Fl_Tile_Fl_Tile( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Tile *_self = DaoCxx_Fl_Tile_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Tile.H */
static void dao_Fl_Tile_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tile* self= (Fl_Tile*) DValue_CastCData( _p[0], dao_Fl_Tile_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Tile::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Tile.H */
static void dao_Fl_Tile_position( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tile* self= (Fl_Tile*) DValue_CastCData( _p[0], dao_Fl_Tile_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->Fl_Tile::position( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Tile.H */
static void dao_Fl_Tile_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tile* self= (Fl_Tile*) DValue_CastCData( _p[0], dao_Fl_Tile_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->Fl_Tile::resize( _cp0, _cp1, _cp2, _cp3 );
}

/*  Fl_Tiled_Image.H */


static DaoNumItem dao_Fl_Tiled_Image_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Tiled_Image_Fl_Tiled_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tiled_Image_color_average__Fl_Tiled_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tiled_Image_color_average( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tiled_Image_copy_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tiled_Image_copy__Fl_Tiled_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tiled_Image_copy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tiled_Image_desaturate__Fl_Tiled_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tiled_Image_desaturate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tiled_Image_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tiled_Image_draw__Fl_Tiled_Image( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tiled_Image_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tiled_Image_image( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Tiled_Image_Meths[] = 
{
  { dao_Fl_Tiled_Image_Fl_Tiled_Image, "Fl_Tiled_Image( i : Fl_Image, W : int = 0, H : int = 0 )=>Fl_Tiled_Image" },
  { dao_Fl_Tiled_Image_color_average, "color_average( self : Fl_Tiled_Image, c : int, i : float )" },
  { dao_Fl_Tiled_Image_copy_dao_2, "copy( self : Fl_Tiled_Image )=>Fl_Image" },
  { dao_Fl_Tiled_Image_copy, "copy( self : Fl_Tiled_Image, W : int, H : int )=>Fl_Image" },
  { dao_Fl_Tiled_Image_desaturate, "desaturate( self : Fl_Tiled_Image )" },
  { dao_Fl_Tiled_Image_draw_dao_2, "draw( self : Fl_Tiled_Image, X : int, Y : int )" },
  { dao_Fl_Tiled_Image_draw, "draw( self : Fl_Tiled_Image, X : int, Y : int, W : int, H : int, cx : int, cy : int )" },
  { dao_Fl_Tiled_Image_image, "image( self : Fl_Tiled_Image )=>Fl_Image" },
  { NULL, NULL }
};
static void Dao_Fl_Tiled_Image_Delete( void *self )
{
	delete (Fl_Tiled_Image*) self;
}
void* dao_cast_Fl_Tiled_Image_to_Fl_Image( void *data )
{
	return (Fl_Image*)(Fl_Tiled_Image*)data;
}

static DaoTypeBase Fl_Tiled_Image_Typer = 
{ "Fl_Tiled_Image", NULL, 
  dao_Fl_Tiled_Image_Nums,
  dao_Fl_Tiled_Image_Meths, 
  { dao_Fl_Image_Typer, 0 },
  { dao_cast_Fl_Tiled_Image_to_Fl_Image,0 },
  Dao_Fl_Tiled_Image_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Tiled_Image_Typer = & Fl_Tiled_Image_Typer;
/* Fl_Tiled_Image.H */
static void dao_Fl_Tiled_Image_Fl_Tiled_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Image* i= (Fl_Image*) DValue_CastCData( _p[0], dao_Fl_Image_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
	DaoCxx_Fl_Tiled_Image *_self = DaoCxx_Fl_Tiled_Image_New( i, W, H );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Tiled_Image.H */
static void dao_Fl_Tiled_Image_color_average__Fl_Tiled_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tiled_Image* self= (Fl_Tiled_Image*) DValue_CastCData( _p[0], dao_Fl_Tiled_Image_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  float i= (float) _p[2]->v.f;
  self->Fl_Tiled_Image::color_average( c, i );
}
/* Fl_Tiled_Image.H */
static void dao_Fl_Tiled_Image_color_average( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Tiled_Image_color_average__Fl_Tiled_Image( _ctx, _p, _n );
    return;
  }
  Fl_Tiled_Image* self= (Fl_Tiled_Image*) DValue_CastCData( _p[0], dao_Fl_Tiled_Image_Typer );
  Fl_Color c= (Fl_Color) _p[1]->v.i;
  float i= (float) _p[2]->v.f;
  self->color_average( c, i );
}
/* Fl_Tiled_Image.H */
static void dao_Fl_Tiled_Image_copy_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tiled_Image* self= (Fl_Tiled_Image*) DValue_CastCData( _p[0], dao_Fl_Tiled_Image_Typer );
  Fl_Image* _copy = self->Fl_Tiled_Image::copy(  );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Tiled_Image.H */
static void dao_Fl_Tiled_Image_copy__Fl_Tiled_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tiled_Image* self= (Fl_Tiled_Image*) DValue_CastCData( _p[0], dao_Fl_Tiled_Image_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  Fl_Image* _copy = self->Fl_Tiled_Image::copy( W, H );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Tiled_Image.H */
static void dao_Fl_Tiled_Image_copy( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Tiled_Image_copy__Fl_Tiled_Image( _ctx, _p, _n );
    return;
  }
  Fl_Tiled_Image* self= (Fl_Tiled_Image*) DValue_CastCData( _p[0], dao_Fl_Tiled_Image_Typer );
  int W= (int) _p[1]->v.i;
  int H= (int) _p[2]->v.i;
  Fl_Image* _copy = self->copy( W, H );
  DaoContext_WrapCData( _ctx, (void*) _copy, dao_Fl_Image_Typer );
}
/* Fl_Tiled_Image.H */
static void dao_Fl_Tiled_Image_desaturate__Fl_Tiled_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tiled_Image* self= (Fl_Tiled_Image*) DValue_CastCData( _p[0], dao_Fl_Tiled_Image_Typer );
  self->Fl_Tiled_Image::desaturate(  );
}
/* Fl_Tiled_Image.H */
static void dao_Fl_Tiled_Image_desaturate( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Tiled_Image_desaturate__Fl_Tiled_Image( _ctx, _p, _n );
    return;
  }
  Fl_Tiled_Image* self= (Fl_Tiled_Image*) DValue_CastCData( _p[0], dao_Fl_Tiled_Image_Typer );
  self->desaturate(  );
}
/* Fl_Tiled_Image.H */
static void dao_Fl_Tiled_Image_draw_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tiled_Image* self= (Fl_Tiled_Image*) DValue_CastCData( _p[0], dao_Fl_Tiled_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  self->Fl_Tiled_Image::draw( X, Y );
}
/* Fl_Tiled_Image.H */
static void dao_Fl_Tiled_Image_draw__Fl_Tiled_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tiled_Image* self= (Fl_Tiled_Image*) DValue_CastCData( _p[0], dao_Fl_Tiled_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  int cx= (int) _p[5]->v.i;
  int cy= (int) _p[6]->v.i;
  self->Fl_Tiled_Image::draw( X, Y, W, H, cx, cy );
}
/* Fl_Tiled_Image.H */
static void dao_Fl_Tiled_Image_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_Fl_Tiled_Image_draw__Fl_Tiled_Image( _ctx, _p, _n );
    return;
  }
  Fl_Tiled_Image* self= (Fl_Tiled_Image*) DValue_CastCData( _p[0], dao_Fl_Tiled_Image_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  int cx= (int) _p[5]->v.i;
  int cy= (int) _p[6]->v.i;
  self->draw( X, Y, W, H, cx, cy );
}
/* Fl_Tiled_Image.H */
static void dao_Fl_Tiled_Image_image( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tiled_Image* self= (Fl_Tiled_Image*) DValue_CastCData( _p[0], dao_Fl_Tiled_Image_Typer );
  Fl_Image* _image = self->Fl_Tiled_Image::image(  );
  DaoContext_WrapCData( _ctx, (void*) _image, dao_Fl_Image_Typer );
}

/*  Fl_Timer.H */


static DaoNumItem dao_Fl_Timer_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Timer_Fl_Timer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Timer_direction( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Timer_direction_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Timer_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Timer_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Timer_suspended( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Timer_suspended_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Timer_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Timer_value( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Timer_Meths[] = 
{
  { dao_Fl_Timer_Fl_Timer, "Fl_Timer( t : int, x : int, y : int, w : int, h : int, l : string )=>Fl_Timer" },
  { dao_Fl_Timer_direction, "direction( self : Fl_Timer )=>int" },
  { dao_Fl_Timer_direction_dao_2, "direction( self : Fl_Timer, d : int )" },
  { dao_Fl_Timer_draw, "draw( self : Fl_Timer )" },
  { dao_Fl_Timer_handle, "handle( self : Fl_Timer, _cp0 : int )=>int" },
  { dao_Fl_Timer_suspended, "suspended( self : Fl_Timer )=>int" },
  { dao_Fl_Timer_suspended_dao_2, "suspended( self : Fl_Timer, d : int )" },
  { dao_Fl_Timer_value_dao_2, "value( self : Fl_Timer )=>double" },
  { dao_Fl_Timer_value, "value( self : Fl_Timer, _cp0 : double )" },
  { NULL, NULL }
};
static void Dao_Fl_Timer_Delete( void *self )
{
	delete (Fl_Timer*) self;
}
void* dao_cast_Fl_Timer_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Fl_Timer*)data;
}

static DaoTypeBase Fl_Timer_Typer = 
{ "Fl_Timer", NULL, 
  dao_Fl_Timer_Nums,
  dao_Fl_Timer_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Fl_Timer_to_Fl_Widget,0 },
  Dao_Fl_Timer_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Timer_Typer = & Fl_Timer_Typer;
/* Fl_Timer.H */
static void dao_Fl_Timer_Fl_Timer( DaoContext *_ctx, DValue *_p[], int _n )
{
  uchar t= (uchar) _p[0]->v.i;
  int x= (int) _p[1]->v.i;
  int y= (int) _p[2]->v.i;
  int w= (int) _p[3]->v.i;
  int h= (int) _p[4]->v.i;
  char* l= (char*) DValue_GetMBString( _p[5] );
	DaoCxx_Fl_Timer *_self = DaoCxx_Fl_Timer_New( t, x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Timer.H */
static void dao_Fl_Timer_direction( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Timer* self= (Fl_Timer*) DValue_CastCData( _p[0], dao_Fl_Timer_Typer );
  char _direction = self->Fl_Timer::direction(  );
  DaoContext_PutInteger( _ctx, (int) _direction );
}
/* Fl_Timer.H */
static void dao_Fl_Timer_direction_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Timer* self= (Fl_Timer*) DValue_CastCData( _p[0], dao_Fl_Timer_Typer );
  char d= (char) _p[1]->v.i;
  self->Fl_Timer::direction( d );
}
/* Fl_Timer.H */
static void dao_Fl_Timer_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Timer *self = (DaoCxx_Fl_Timer*) DValue_CastCData( _p[0], dao_Fl_Timer_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Timer.H */
static void dao_Fl_Timer_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Timer* self= (Fl_Timer*) DValue_CastCData( _p[0], dao_Fl_Timer_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Timer::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Timer.H */
static void dao_Fl_Timer_suspended( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Timer* self= (Fl_Timer*) DValue_CastCData( _p[0], dao_Fl_Timer_Typer );
  char _suspended = self->Fl_Timer::suspended(  );
  DaoContext_PutInteger( _ctx, (int) _suspended );
}
/* Fl_Timer.H */
static void dao_Fl_Timer_suspended_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Timer* self= (Fl_Timer*) DValue_CastCData( _p[0], dao_Fl_Timer_Typer );
  char d= (char) _p[1]->v.i;
  self->Fl_Timer::suspended( d );
}
/* Fl_Timer.H */
static void dao_Fl_Timer_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Timer* self= (Fl_Timer*) DValue_CastCData( _p[0], dao_Fl_Timer_Typer );
  double _value = self->Fl_Timer::value(  );
  DaoContext_PutDouble( _ctx, (double) _value );
}
/* Fl_Timer.H */
static void dao_Fl_Timer_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Timer* self= (Fl_Timer*) DValue_CastCData( _p[0], dao_Fl_Timer_Typer );
  double _cp0= (double) _p[1]->v.d;
  self->Fl_Timer::value( _cp0 );
}

/*  Fl_Toggle_Button.H */


static DaoNumItem dao_Fl_Toggle_Button_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Toggle_Button_Fl_Toggle_Button( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Toggle_Button_Meths[] = 
{
  { dao_Fl_Toggle_Button_Fl_Toggle_Button, "Fl_Toggle_Button( X : int, Y : int, W : int, H : int, l : string|null=null )=>Fl_Toggle_Button" },
  { NULL, NULL }
};
static void Dao_Fl_Toggle_Button_Delete( void *self )
{
	delete (Fl_Toggle_Button*) self;
}
void* dao_cast_Fl_Toggle_Button_to_Fl_Button( void *data )
{
	return (Fl_Button*)(Fl_Toggle_Button*)data;
}

static DaoTypeBase Fl_Toggle_Button_Typer = 
{ "Fl_Toggle_Button", NULL, 
  dao_Fl_Toggle_Button_Nums,
  dao_Fl_Toggle_Button_Meths, 
  { dao_Fl_Button_Typer, 0 },
  { dao_cast_Fl_Toggle_Button_to_Fl_Button,0 },
  Dao_Fl_Toggle_Button_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Toggle_Button_Typer = & Fl_Toggle_Button_Typer;
/* Fl_Toggle_Button.H */
static void dao_Fl_Toggle_Button_Fl_Toggle_Button( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Toggle_Button *_self = DaoCxx_Fl_Toggle_Button_New( X, Y, W, H, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_Tooltip.H */


static DaoNumItem dao_Fl_Tooltip_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Tooltip_Fl_Tooltip( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_current( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_current_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_delay( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_delay_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_disable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_enable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_enabled( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_enter_area( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_font( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_font_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_hoverdelay( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_hoverdelay_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tooltip_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Tooltip_Meths[] = 
{
  { dao_Fl_Tooltip_Fl_Tooltip, "Fl_Tooltip(  )=>Fl_Tooltip" },
  { dao_Fl_Tooltip_color, "color(  )=>int" },
  { dao_Fl_Tooltip_color_dao_2, "color( c : int )" },
  { dao_Fl_Tooltip_current, "current(  )=>Fl_Widget" },
  { dao_Fl_Tooltip_current_dao_2, "current( _cp0 : Fl_Widget )" },
  { dao_Fl_Tooltip_delay, "delay(  )=>float" },
  { dao_Fl_Tooltip_delay_dao_2, "delay( f : float )" },
  { dao_Fl_Tooltip_disable, "disable(  )" },
  { dao_Fl_Tooltip_enable, "enable( b : int = 1 )" },
  { dao_Fl_Tooltip_enabled, "enabled(  )=>int" },
  { dao_Fl_Tooltip_enter_area, "enter_area( w : Fl_Widget, X : int, Y : int, W : int, H : int, tip : string )" },
  { dao_Fl_Tooltip_font, "font(  )=>int" },
  { dao_Fl_Tooltip_font_dao_2, "font( i : int )" },
  { dao_Fl_Tooltip_hoverdelay, "hoverdelay(  )=>float" },
  { dao_Fl_Tooltip_hoverdelay_dao_2, "hoverdelay( f : float )" },
  { dao_Fl_Tooltip_size, "size(  )=>int" },
  { dao_Fl_Tooltip_size_dao_2, "size( s : int )" },
  { dao_Fl_Tooltip_textcolor, "textcolor(  )=>int" },
  { dao_Fl_Tooltip_textcolor_dao_2, "textcolor( c : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Tooltip_Delete( void *self )
{
	delete (Fl_Tooltip*) self;
}

static DaoTypeBase Fl_Tooltip_Typer = 
{ "Fl_Tooltip", NULL, 
  dao_Fl_Tooltip_Nums,
  dao_Fl_Tooltip_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Tooltip_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Tooltip_Typer = & Fl_Tooltip_Typer;
static void dao_Fl_Tooltip_Fl_Tooltip( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Tooltip *self = Dao_Fl_Tooltip_New();
	DaoContext_PutCData( _ctx, self, dao_Fl_Tooltip_Typer );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color _color = Fl_Tooltip::color(  );
  DaoContext_PutInteger( _ctx, (int) _color );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color c= (Fl_Color) _p[0]->v.i;
  Fl_Tooltip::color( c );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_current( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* _current = Fl_Tooltip::current(  );
  DaoContext_WrapCData( _ctx, (void*) _current, dao_Fl_Widget_Typer );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_current_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  Fl_Tooltip::current( _cp0 );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_delay( DaoContext *_ctx, DValue *_p[], int _n )
{
  float _delay = Fl_Tooltip::delay(  );
  DaoContext_PutFloat( _ctx, (float) _delay );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_delay_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  float f= (float) _p[0]->v.f;
  Fl_Tooltip::delay( f );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_disable( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tooltip::disable(  );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_enable( DaoContext *_ctx, DValue *_p[], int _n )
{
  int b= (int) _p[0]->v.i;
  Fl_Tooltip::enable( b );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_enabled( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _enabled = Fl_Tooltip::enabled(  );
  DaoContext_PutInteger( _ctx, (int) _enabled );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_enter_area( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* w= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  int H= (int) _p[4]->v.i;
  char* tip= (char*) DValue_GetMBString( _p[5] );
  Fl_Tooltip::enter_area( w, X, Y, W, H, tip );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_font( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Font _font = Fl_Tooltip::font(  );
  DaoContext_PutInteger( _ctx, (int) _font );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_font_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Font i= (Fl_Font) _p[0]->v.i;
  Fl_Tooltip::font( i );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_hoverdelay( DaoContext *_ctx, DValue *_p[], int _n )
{
  float _hoverdelay = Fl_Tooltip::hoverdelay(  );
  DaoContext_PutFloat( _ctx, (float) _hoverdelay );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_hoverdelay_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  float f= (float) _p[0]->v.f;
  Fl_Tooltip::hoverdelay( f );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Fontsize _size = Fl_Tooltip::size(  );
  DaoContext_PutInteger( _ctx, (int) _size );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_size_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Fontsize s= (Fl_Fontsize) _p[0]->v.i;
  Fl_Tooltip::size( s );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color _textcolor = Fl_Tooltip::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Tooltip.H */
static void dao_Fl_Tooltip_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Color c= (Fl_Color) _p[0]->v.i;
  Fl_Tooltip::textcolor( c );
}

/*  Fl_Tree.H */


static DaoNumItem dao_Fl_Tree_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Tree_Fl_Tree( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_add_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_clear_children( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_close( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_close_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_closeicon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_closeicon_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_connectorstyle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_connectorstyle_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_connectorwidth( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_connectorwidth_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_deselect( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_deselect_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_deselect_all( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_find_clicked( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_find_item( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_find_item_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_first( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_insert_above( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_is_close( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_is_close_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_is_open( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_is_open_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_is_selected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_is_selected_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_item_clicked_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_item_clicked( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_labelfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_labelfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_labelsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_labelsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_last( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_marginleft( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_marginleft_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_margintop( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_margintop_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_open( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_open_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_openchild_marginbottom( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_openchild_marginbottom_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_openicon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_openicon_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_parent( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_root( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_root_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_select( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_select_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_select_all( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_select_only( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_select_toggle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_selectbox( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_selectbox_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_selectmode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_selectmode_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_show_self( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_showcollapse( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_showcollapse_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_showroot( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_showroot_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_sortorder( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_sortorder_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_usericon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_usericon_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Tree_Meths[] = 
{
  { dao_Fl_Tree_Fl_Tree, "Fl_Tree( X : int, Y : int, W : int, H : int, L : string|null=null )=>Fl_Tree" },
  { dao_Fl_Tree_add_dao_2, "add( self : Fl_Tree, item : Fl_Tree_Item, name : string )=>Fl_Tree_Item" },
  { dao_Fl_Tree_add, "add( self : Fl_Tree, path : string )=>Fl_Tree_Item" },
  { dao_Fl_Tree_clear, "clear( self : Fl_Tree )" },
  { dao_Fl_Tree_clear_children, "clear_children( self : Fl_Tree, item : Fl_Tree_Item )" },
  { dao_Fl_Tree_close, "close( self : Fl_Tree, item : Fl_Tree_Item )" },
  { dao_Fl_Tree_close_dao_2, "close( self : Fl_Tree, path : string )=>int" },
  { dao_Fl_Tree_closeicon, "closeicon( self : Fl_Tree )=>Fl_Image" },
  { dao_Fl_Tree_closeicon_dao_2, "closeicon( self : Fl_Tree, val : Fl_Image )" },
  { dao_Fl_Tree_connectorstyle, "connectorstyle( self : Fl_Tree )=>Fl_Tree_Connector" },
  { dao_Fl_Tree_connectorstyle_dao_2, "connectorstyle( self : Fl_Tree, val : Fl_Tree_Connector )" },
  { dao_Fl_Tree_connectorwidth, "connectorwidth( self : Fl_Tree )=>int" },
  { dao_Fl_Tree_connectorwidth_dao_2, "connectorwidth( self : Fl_Tree, val : int )" },
  { dao_Fl_Tree_deselect, "deselect( self : Fl_Tree, item : Fl_Tree_Item )" },
  { dao_Fl_Tree_deselect_dao_2, "deselect( self : Fl_Tree, path : string )=>int" },
  { dao_Fl_Tree_deselect_all, "deselect_all( self : Fl_Tree, item : Fl_Tree_Item|null=null )=>int" },
  { dao_Fl_Tree_draw, "draw( self : Fl_Tree )" },
  { dao_Fl_Tree_find_clicked, "find_clicked( self : Fl_Tree )=>Fl_Tree_Item" },
  { dao_Fl_Tree_find_item, "find_item( self : Fl_Tree, path : string )=>Fl_Tree_Item" },
  { dao_Fl_Tree_find_item_dao_2, "find_item( self : Fl_Tree, path : string )=>Fl_Tree_Item" },
  { dao_Fl_Tree_first, "first( self : Fl_Tree )=>Fl_Tree_Item" },
  { dao_Fl_Tree_handle, "handle( self : Fl_Tree, e : int )=>int" },
  { dao_Fl_Tree_insert, "insert( self : Fl_Tree, item : Fl_Tree_Item, name : string, pos : int )=>Fl_Tree_Item" },
  { dao_Fl_Tree_insert_above, "insert_above( self : Fl_Tree, above : Fl_Tree_Item, name : string )=>Fl_Tree_Item" },
  { dao_Fl_Tree_is_close, "is_close( self : Fl_Tree, item : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_is_close_dao_2, "is_close( self : Fl_Tree, path : string )=>int" },
  { dao_Fl_Tree_is_open, "is_open( self : Fl_Tree, item : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_is_open_dao_2, "is_open( self : Fl_Tree, path : string )=>int" },
  { dao_Fl_Tree_is_selected, "is_selected( self : Fl_Tree, item : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_is_selected_dao_2, "is_selected( self : Fl_Tree, path : string )=>int" },
  { dao_Fl_Tree_item_clicked_dao_2, "item_clicked( self : Fl_Tree )=>Fl_Tree_Item" },
  { dao_Fl_Tree_item_clicked, "item_clicked( self : Fl_Tree, val : Fl_Tree_Item )" },
  { dao_Fl_Tree_labelfont, "labelfont( self : Fl_Tree )=>int" },
  { dao_Fl_Tree_labelfont_dao_2, "labelfont( self : Fl_Tree, val : int )" },
  { dao_Fl_Tree_labelsize, "labelsize( self : Fl_Tree )=>int" },
  { dao_Fl_Tree_labelsize_dao_2, "labelsize( self : Fl_Tree, val : int )" },
  { dao_Fl_Tree_last, "last( self : Fl_Tree )=>Fl_Tree_Item" },
  { dao_Fl_Tree_marginleft, "marginleft( self : Fl_Tree )=>int" },
  { dao_Fl_Tree_marginleft_dao_2, "marginleft( self : Fl_Tree, val : int )" },
  { dao_Fl_Tree_margintop, "margintop( self : Fl_Tree )=>int" },
  { dao_Fl_Tree_margintop_dao_2, "margintop( self : Fl_Tree, val : int )" },
  { dao_Fl_Tree_open, "open( self : Fl_Tree, item : Fl_Tree_Item )" },
  { dao_Fl_Tree_open_dao_2, "open( self : Fl_Tree, path : string )=>int" },
  { dao_Fl_Tree_openchild_marginbottom, "openchild_marginbottom( self : Fl_Tree )=>int" },
  { dao_Fl_Tree_openchild_marginbottom_dao_2, "openchild_marginbottom( self : Fl_Tree, val : int )" },
  { dao_Fl_Tree_openicon, "openicon( self : Fl_Tree )=>Fl_Image" },
  { dao_Fl_Tree_openicon_dao_2, "openicon( self : Fl_Tree, val : Fl_Image )" },
  { dao_Fl_Tree_parent, "parent( self : Fl_Tree, item : Fl_Tree_Item )=>Fl_Tree_Item" },
  { dao_Fl_Tree_remove, "remove( self : Fl_Tree, item : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_root, "root( self : Fl_Tree )=>Fl_Tree_Item" },
  { dao_Fl_Tree_root_label, "root_label( self : Fl_Tree, new_label : string )" },
  { dao_Fl_Tree_select, "select( self : Fl_Tree, item : Fl_Tree_Item )" },
  { dao_Fl_Tree_select_dao_2, "select( self : Fl_Tree, path : string )=>int" },
  { dao_Fl_Tree_select_all, "select_all( self : Fl_Tree, item : Fl_Tree_Item|null=null )=>int" },
  { dao_Fl_Tree_select_only, "select_only( self : Fl_Tree, selitem : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_select_toggle, "select_toggle( self : Fl_Tree, item : Fl_Tree_Item )" },
  { dao_Fl_Tree_selectbox, "selectbox( self : Fl_Tree )=>int" },
  { dao_Fl_Tree_selectbox_dao_2, "selectbox( self : Fl_Tree, val : int )" },
  { dao_Fl_Tree_selectmode, "selectmode( self : Fl_Tree )=>Fl_Tree_Select" },
  { dao_Fl_Tree_selectmode_dao_2, "selectmode( self : Fl_Tree, val : Fl_Tree_Select )" },
  { dao_Fl_Tree_show_self, "show_self( self : Fl_Tree )" },
  { dao_Fl_Tree_showcollapse, "showcollapse( self : Fl_Tree )=>int" },
  { dao_Fl_Tree_showcollapse_dao_2, "showcollapse( self : Fl_Tree, val : int )" },
  { dao_Fl_Tree_showroot, "showroot( self : Fl_Tree )=>int" },
  { dao_Fl_Tree_showroot_dao_2, "showroot( self : Fl_Tree, val : int )" },
  { dao_Fl_Tree_sortorder, "sortorder( self : Fl_Tree )=>Fl_Tree_Sort" },
  { dao_Fl_Tree_sortorder_dao_2, "sortorder( self : Fl_Tree, val : Fl_Tree_Sort )" },
  { dao_Fl_Tree_usericon, "usericon( self : Fl_Tree )=>Fl_Image" },
  { dao_Fl_Tree_usericon_dao_2, "usericon( self : Fl_Tree, val : Fl_Image )" },
  { NULL, NULL }
};
static void Dao_Fl_Tree_Delete( void *self )
{
	delete (Fl_Tree*) self;
}
void* dao_cast_Fl_Tree_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Tree*)data;
}

static DaoTypeBase Fl_Tree_Typer = 
{ "Fl_Tree", NULL, 
  dao_Fl_Tree_Nums,
  dao_Fl_Tree_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Tree_to_Fl_Group,0 },
  Dao_Fl_Tree_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Tree_Typer = & Fl_Tree_Typer;
/* Fl_Tree.H */
static void dao_Fl_Tree_Fl_Tree( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
  char* L= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Tree *_self = DaoCxx_Fl_Tree_New( X, Y, W, H, L );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_add_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  char* name= (char*) DValue_GetMBString( _p[2] );
  Fl_Tree_Item* _add = self->Fl_Tree::add( item, name );
  DaoContext_WrapCData( _ctx, (void*) _add, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_add( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  char* path= (char*) DValue_GetMBString( _p[1] );
  Fl_Tree_Item* _add = self->Fl_Tree::add( path );
  DaoContext_WrapCData( _ctx, (void*) _add, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  self->Fl_Tree::clear(  );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_clear_children( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree::clear_children( item );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_close( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree::close( item );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_close_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  char* path= (char*) DValue_GetMBString( _p[1] );
  int _close = self->Fl_Tree::close( path );
  DaoContext_PutInteger( _ctx, (int) _close );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_closeicon( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Image* _closeicon = self->Fl_Tree::closeicon(  );
  DaoContext_WrapCData( _ctx, (void*) _closeicon, dao_Fl_Image_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_closeicon_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Image* val= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Tree::closeicon( val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_connectorstyle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Connector _connectorstyle = self->Fl_Tree::connectorstyle(  );
  DaoContext_CopyCData( _ctx, (void*)& _connectorstyle, sizeof(Fl_Tree_Connector), dao_Fl_Tree_Connector_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_connectorstyle_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Connector* val= (Fl_Tree_Connector*) DValue_CastCData( _p[1], dao_Fl_Tree_Connector_Typer );
  self->Fl_Tree::connectorstyle( *val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_connectorwidth( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int _connectorwidth = self->Fl_Tree::connectorwidth(  );
  DaoContext_PutInteger( _ctx, (int) _connectorwidth );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_connectorwidth_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree::connectorwidth( val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_deselect( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree::deselect( item );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_deselect_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  char* path= (char*) DValue_GetMBString( _p[1] );
  int _deselect = self->Fl_Tree::deselect( path );
  DaoContext_PutInteger( _ctx, (int) _deselect );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_deselect_all( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  int _deselect_all = self->Fl_Tree::deselect_all( item );
  DaoContext_PutInteger( _ctx, (int) _deselect_all );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  self->Fl_Tree::draw(  );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_find_clicked( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  const Fl_Tree_Item* _find_clicked = self->Fl_Tree::find_clicked(  );
  DaoContext_WrapCData( _ctx, (void*) _find_clicked, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_find_item( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  char* path= (char*) DValue_GetMBString( _p[1] );
  Fl_Tree_Item* _find_item = self->Fl_Tree::find_item( path );
  DaoContext_WrapCData( _ctx, (void*) _find_item, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_find_item_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  char* path= (char*) DValue_GetMBString( _p[1] );
  const Fl_Tree_Item* _find_item = self->Fl_Tree::find_item( path );
  DaoContext_WrapCData( _ctx, (void*) _find_item, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_first( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* _first = self->Fl_Tree::first(  );
  DaoContext_WrapCData( _ctx, (void*) _first, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int e= (int) _p[1]->v.i;
  int _handle = self->Fl_Tree::handle( e );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  char* name= (char*) DValue_GetMBString( _p[2] );
  int pos= (int) _p[3]->v.i;
  Fl_Tree_Item* _insert = self->Fl_Tree::insert( item, name, pos );
  DaoContext_WrapCData( _ctx, (void*) _insert, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_insert_above( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* above= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  char* name= (char*) DValue_GetMBString( _p[2] );
  Fl_Tree_Item* _insert_above = self->Fl_Tree::insert_above( above, name );
  DaoContext_WrapCData( _ctx, (void*) _insert_above, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_is_close( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  int _is_close = self->Fl_Tree::is_close( item );
  DaoContext_PutInteger( _ctx, (int) _is_close );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_is_close_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  char* path= (char*) DValue_GetMBString( _p[1] );
  int _is_close = self->Fl_Tree::is_close( path );
  DaoContext_PutInteger( _ctx, (int) _is_close );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_is_open( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  int _is_open = self->Fl_Tree::is_open( item );
  DaoContext_PutInteger( _ctx, (int) _is_open );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_is_open_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  char* path= (char*) DValue_GetMBString( _p[1] );
  int _is_open = self->Fl_Tree::is_open( path );
  DaoContext_PutInteger( _ctx, (int) _is_open );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_is_selected( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  int _is_selected = self->Fl_Tree::is_selected( item );
  DaoContext_PutInteger( _ctx, (int) _is_selected );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_is_selected_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  char* path= (char*) DValue_GetMBString( _p[1] );
  int _is_selected = self->Fl_Tree::is_selected( path );
  DaoContext_PutInteger( _ctx, (int) _is_selected );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_item_clicked_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* _item_clicked = self->Fl_Tree::item_clicked(  );
  DaoContext_WrapCData( _ctx, (void*) _item_clicked, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_item_clicked( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Tree *self = (DaoCxx_Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* val= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  self->DaoWrap_item_clicked( val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_labelfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int _labelfont = self->Fl_Tree::labelfont(  );
  DaoContext_PutInteger( _ctx, (int) _labelfont );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_labelfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree::labelfont( val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_labelsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int _labelsize = self->Fl_Tree::labelsize(  );
  DaoContext_PutInteger( _ctx, (int) _labelsize );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_labelsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree::labelsize( val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_last( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* _last = self->Fl_Tree::last(  );
  DaoContext_WrapCData( _ctx, (void*) _last, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_marginleft( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int _marginleft = self->Fl_Tree::marginleft(  );
  DaoContext_PutInteger( _ctx, (int) _marginleft );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_marginleft_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree::marginleft( val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_margintop( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int _margintop = self->Fl_Tree::margintop(  );
  DaoContext_PutInteger( _ctx, (int) _margintop );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_margintop_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree::margintop( val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_open( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree::open( item );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_open_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  char* path= (char*) DValue_GetMBString( _p[1] );
  int _open = self->Fl_Tree::open( path );
  DaoContext_PutInteger( _ctx, (int) _open );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_openchild_marginbottom( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int _openchild_marginbottom = self->Fl_Tree::openchild_marginbottom(  );
  DaoContext_PutInteger( _ctx, (int) _openchild_marginbottom );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_openchild_marginbottom_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree::openchild_marginbottom( val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_openicon( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Image* _openicon = self->Fl_Tree::openicon(  );
  DaoContext_WrapCData( _ctx, (void*) _openicon, dao_Fl_Image_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_openicon_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Image* val= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Tree::openicon( val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_parent( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Item* _parent = self->Fl_Tree::parent( item );
  DaoContext_WrapCData( _ctx, (void*) _parent, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  int _remove = self->Fl_Tree::remove( item );
  DaoContext_PutInteger( _ctx, (int) _remove );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_root( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* _root = self->Fl_Tree::root(  );
  DaoContext_WrapCData( _ctx, (void*) _root, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_root_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  char* new_label= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Tree::root_label( new_label );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_select( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree::select( item );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_select_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  char* path= (char*) DValue_GetMBString( _p[1] );
  int _select = self->Fl_Tree::select( path );
  DaoContext_PutInteger( _ctx, (int) _select );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_select_all( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  int _select_all = self->Fl_Tree::select_all( item );
  DaoContext_PutInteger( _ctx, (int) _select_all );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_select_only( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* selitem= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  int _select_only = self->Fl_Tree::select_only( selitem );
  DaoContext_PutInteger( _ctx, (int) _select_only );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_select_toggle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree::select_toggle( item );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_selectbox( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Boxtype _selectbox = self->Fl_Tree::selectbox(  );
  DaoContext_PutInteger( _ctx, (int) _selectbox );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_selectbox_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Boxtype val= (Fl_Boxtype) _p[1]->v.i;
  self->Fl_Tree::selectbox( val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_selectmode( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Select _selectmode = self->Fl_Tree::selectmode(  );
  DaoContext_CopyCData( _ctx, (void*)& _selectmode, sizeof(Fl_Tree_Select), dao_Fl_Tree_Select_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_selectmode_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Select* val= (Fl_Tree_Select*) DValue_CastCData( _p[1], dao_Fl_Tree_Select_Typer );
  self->Fl_Tree::selectmode( *val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_show_self( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  self->Fl_Tree::show_self(  );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_showcollapse( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int _showcollapse = self->Fl_Tree::showcollapse(  );
  DaoContext_PutInteger( _ctx, (int) _showcollapse );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_showcollapse_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree::showcollapse( val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_showroot( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int _showroot = self->Fl_Tree::showroot(  );
  DaoContext_PutInteger( _ctx, (int) _showroot );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_showroot_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree::showroot( val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_sortorder( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Sort _sortorder = self->Fl_Tree::sortorder(  );
  DaoContext_CopyCData( _ctx, (void*)& _sortorder, sizeof(Fl_Tree_Sort), dao_Fl_Tree_Sort_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_sortorder_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Tree_Sort* val= (Fl_Tree_Sort*) DValue_CastCData( _p[1], dao_Fl_Tree_Sort_Typer );
  self->Fl_Tree::sortorder( *val );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_usericon( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Image* _usericon = self->Fl_Tree::usericon(  );
  DaoContext_WrapCData( _ctx, (void*) _usericon, dao_Fl_Image_Typer );
}
/* Fl_Tree.H */
static void dao_Fl_Tree_usericon_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree* self= (Fl_Tree*) DValue_CastCData( _p[0], dao_Fl_Tree_Typer );
  Fl_Image* val= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Tree::usericon( val );
}

/*  Fl_Tree.H */


static DaoNumItem dao_Fl_Tree_Connector_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Tree_Connector_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Tree_Connector_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Tree_Connector_Typer = 
{ "Fl_Tree_Connector", NULL, 
  dao_Fl_Tree_Connector_Nums,
  dao_Fl_Tree_Connector_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Tree_Connector_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Tree_Connector_Typer = & Fl_Tree_Connector_Typer;

/*  Fl_Tree_Item.H */


static DaoNumItem dao_Fl_Tree_Item_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Tree_Item_Fl_Tree_Item_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_Fl_Tree_Item( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_activate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_add_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_child( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_child_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_children( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_clear_children( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_close( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_deactivate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_depth( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_deselect( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_deselect_all( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_event_on_collapse_icon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_event_on_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_find_child_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_find_child( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_find_clicked_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_find_clicked( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_find_item_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_find_item( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_has_children( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_insert_above( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_is_activated( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_is_active( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_is_close( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_is_open( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_is_root( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_is_selected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_label( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_labelbgcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_labelbgcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_labelcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_labelcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_labelfgcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_labelfgcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_labelfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_labelfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_labelsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_labelsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_next( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_open( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_open_toggle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_parent( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_parent_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_parent_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_prev( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_remove_child( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_remove_child_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_select( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_select_all( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_select_toggle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_show_self( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_swap_children_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_swap_children( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_user_data_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_user_data( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_usericon_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_usericon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_widget_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_widget( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Tree_Item_Meths[] = 
{
  { dao_Fl_Tree_Item_Fl_Tree_Item_dao_2, "Fl_Tree_Item( o : Fl_Tree_Item )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_Fl_Tree_Item, "Fl_Tree_Item( prefs : Fl_Tree_Prefs )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_activate, "activate( self : Fl_Tree_Item, val : int=1 )" },
  { dao_Fl_Tree_Item_add_dao_2, "add( self : Fl_Tree_Item, prefs : Fl_Tree_Prefs, arr : string )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_add, "add( self : Fl_Tree_Item, prefs : Fl_Tree_Prefs, new_label : string )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_child, "child( self : Fl_Tree_Item, index : int )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_child_dao_2, "child( self : Fl_Tree_Item, t : int )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_children, "children( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_clear_children, "clear_children( self : Fl_Tree_Item )" },
  { dao_Fl_Tree_Item_close, "close( self : Fl_Tree_Item )" },
  { dao_Fl_Tree_Item_deactivate, "deactivate( self : Fl_Tree_Item )" },
  { dao_Fl_Tree_Item_depth, "depth( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_deselect, "deselect( self : Fl_Tree_Item )" },
  { dao_Fl_Tree_Item_deselect_all, "deselect_all( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_draw, "draw( self : Fl_Tree_Item, X : int, Y : int, W : int, tree : Fl_Widget, prefs : Fl_Tree_Prefs, lastchild : int=1 )" },
  { dao_Fl_Tree_Item_event_on_collapse_icon, "event_on_collapse_icon( self : Fl_Tree_Item, prefs : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Item_event_on_label, "event_on_label( self : Fl_Tree_Item, prefs : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Item_find_child_dao_2, "find_child( self : Fl_Tree_Item, item : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_find_child, "find_child( self : Fl_Tree_Item, name : string )=>int" },
  { dao_Fl_Tree_Item_find_clicked_dao_2, "find_clicked( self : Fl_Tree_Item, prefs : Fl_Tree_Prefs )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_find_clicked, "find_clicked( self : Fl_Tree_Item, prefs : Fl_Tree_Prefs )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_find_item_dao_2, "find_item( self : Fl_Tree_Item, arr : string )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_find_item, "find_item( self : Fl_Tree_Item, arr : string )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_has_children, "has_children( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_insert, "insert( self : Fl_Tree_Item, prefs : Fl_Tree_Prefs, new_label : string, pos : int=0 )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_insert_above, "insert_above( self : Fl_Tree_Item, prefs : Fl_Tree_Prefs, new_label : string )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_is_activated, "is_activated( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_is_active, "is_active( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_is_close, "is_close( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_is_open, "is_open( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_is_root, "is_root( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_is_selected, "is_selected( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_label_dao_2, "label( self : Fl_Tree_Item )=>string" },
  { dao_Fl_Tree_Item_label, "label( self : Fl_Tree_Item, val : string )" },
  { dao_Fl_Tree_Item_labelbgcolor_dao_2, "labelbgcolor( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_labelbgcolor, "labelbgcolor( self : Fl_Tree_Item, val : int )" },
  { dao_Fl_Tree_Item_labelcolor_dao_2, "labelcolor( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_labelcolor, "labelcolor( self : Fl_Tree_Item, val : int )" },
  { dao_Fl_Tree_Item_labelfgcolor_dao_2, "labelfgcolor( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_labelfgcolor, "labelfgcolor( self : Fl_Tree_Item, val : int )" },
  { dao_Fl_Tree_Item_labelfont_dao_2, "labelfont( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_labelfont, "labelfont( self : Fl_Tree_Item, val : int )" },
  { dao_Fl_Tree_Item_labelsize_dao_2, "labelsize( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_labelsize, "labelsize( self : Fl_Tree_Item, val : int )" },
  { dao_Fl_Tree_Item_next, "next( self : Fl_Tree_Item )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_open, "open( self : Fl_Tree_Item )" },
  { dao_Fl_Tree_Item_open_toggle, "open_toggle( self : Fl_Tree_Item )" },
  { dao_Fl_Tree_Item_parent, "parent( self : Fl_Tree_Item )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_parent_dao_2, "parent( self : Fl_Tree_Item )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_parent_dao_3, "parent( self : Fl_Tree_Item, val : Fl_Tree_Item )" },
  { dao_Fl_Tree_Item_prev, "prev( self : Fl_Tree_Item )=>Fl_Tree_Item" },
  { dao_Fl_Tree_Item_remove_child, "remove_child( self : Fl_Tree_Item, item : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_remove_child_dao_2, "remove_child( self : Fl_Tree_Item, new_label : string )=>int" },
  { dao_Fl_Tree_Item_select, "select( self : Fl_Tree_Item, val : int=1 )" },
  { dao_Fl_Tree_Item_select_all, "select_all( self : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_select_toggle, "select_toggle( self : Fl_Tree_Item )" },
  { dao_Fl_Tree_Item_show_self, "show_self( self : Fl_Tree_Item, indent : string = \"\" )" },
  { dao_Fl_Tree_Item_swap_children_dao_2, "swap_children( self : Fl_Tree_Item, a : Fl_Tree_Item, b : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_swap_children, "swap_children( self : Fl_Tree_Item, ax : int, bx : int )" },
  { dao_Fl_Tree_Item_user_data_dao_2, "user_data( self : Fl_Tree_Item )=>cdata" },
  { dao_Fl_Tree_Item_user_data, "user_data( self : Fl_Tree_Item, data : cdata )" },
  { dao_Fl_Tree_Item_usericon_dao_2, "usericon( self : Fl_Tree_Item )=>Fl_Image" },
  { dao_Fl_Tree_Item_usericon, "usericon( self : Fl_Tree_Item, val : Fl_Image )" },
  { dao_Fl_Tree_Item_widget_dao_2, "widget( self : Fl_Tree_Item )=>Fl_Widget" },
  { dao_Fl_Tree_Item_widget, "widget( self : Fl_Tree_Item, val : Fl_Widget )" },
  { NULL, NULL }
};
static void Dao_Fl_Tree_Item_Delete( void *self )
{
	delete (Fl_Tree_Item*) self;
}

static DaoTypeBase Fl_Tree_Item_Typer = 
{ "Fl_Tree_Item", NULL, 
  dao_Fl_Tree_Item_Nums,
  dao_Fl_Tree_Item_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Tree_Item_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Tree_Item_Typer = & Fl_Tree_Item_Typer;
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_Fl_Tree_Item_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* o= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
	Fl_Tree_Item *_self = Dao_Fl_Tree_Item_New( o );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_Fl_Tree_Item( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* prefs= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
	Fl_Tree_Item *_self = Dao_Fl_Tree_Item_New( *prefs );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_activate( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Item::activate( val );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_add_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Prefs* prefs= (Fl_Tree_Prefs*) DValue_CastCData( _p[1], dao_Fl_Tree_Prefs_Typer );
  char* arr_old = (char*)DValue_GetMBString( _p[2] );
  size_t arr_len = strlen( arr_old );
  char* arr = (char*) malloc( arr_len + 1 );
  void* arr_p = strncpy( arr, arr_old, arr_len );
  Fl_Tree_Item* _add = self->Fl_Tree_Item::add( *prefs, & arr );
  DString_SetMBS( _p[2]->v.s, (char*) arr );
  free( arr );
  DaoContext_WrapCData( _ctx, (void*) _add, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_add( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Prefs* prefs= (Fl_Tree_Prefs*) DValue_CastCData( _p[1], dao_Fl_Tree_Prefs_Typer );
  char* new_label= (char*) DValue_GetMBString( _p[2] );
  Fl_Tree_Item* _add = self->Fl_Tree_Item::add( *prefs, new_label );
  DaoContext_WrapCData( _ctx, (void*) _add, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_child( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int index= (int) _p[1]->v.i;
  Fl_Tree_Item* _child = self->Fl_Tree_Item::child( index );
  DaoContext_WrapCData( _ctx, (void*) _child, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_child_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int t= (int) _p[1]->v.i;
  const Fl_Tree_Item* _child = self->Fl_Tree_Item::child( t );
  DaoContext_WrapCData( _ctx, (void*) _child, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_children( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int _children = self->Fl_Tree_Item::children(  );
  DaoContext_PutInteger( _ctx, (int) _children );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_clear_children( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree_Item::clear_children(  );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_close( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree_Item::close(  );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_deactivate( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree_Item::deactivate(  );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_depth( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int _depth = self->Fl_Tree_Item::depth(  );
  DaoContext_PutInteger( _ctx, (int) _depth );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_deselect( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree_Item::deselect(  );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_deselect_all( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int _deselect_all = self->Fl_Tree_Item::deselect_all(  );
  DaoContext_PutInteger( _ctx, (int) _deselect_all );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int X= (int) _p[1]->v.i;
  int Y= (int) _p[2]->v.i;
  int W= (int) _p[3]->v.i;
  Fl_Widget* tree= (Fl_Widget*) DValue_CastCData( _p[4], dao_Fl_Widget_Typer );
  Fl_Tree_Prefs* prefs= (Fl_Tree_Prefs*) DValue_CastCData( _p[5], dao_Fl_Tree_Prefs_Typer );
  int lastchild= (int) _p[6]->v.i;
  self->Fl_Tree_Item::draw( X, Y, W, tree, *prefs, lastchild );
  _p[2]->v.i = (int) Y;
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_event_on_collapse_icon( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Prefs* prefs= (Fl_Tree_Prefs*) DValue_CastCData( _p[1], dao_Fl_Tree_Prefs_Typer );
  int _event_on_collapse_icon = self->Fl_Tree_Item::event_on_collapse_icon( *prefs );
  DaoContext_PutInteger( _ctx, (int) _event_on_collapse_icon );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_event_on_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Prefs* prefs= (Fl_Tree_Prefs*) DValue_CastCData( _p[1], dao_Fl_Tree_Prefs_Typer );
  int _event_on_label = self->Fl_Tree_Item::event_on_label( *prefs );
  DaoContext_PutInteger( _ctx, (int) _event_on_label );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_find_child_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  int _find_child = self->Fl_Tree_Item::find_child( item );
  DaoContext_PutInteger( _ctx, (int) _find_child );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_find_child( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  char* name= (char*) DValue_GetMBString( _p[1] );
  int _find_child = self->Fl_Tree_Item::find_child( name );
  DaoContext_PutInteger( _ctx, (int) _find_child );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_find_clicked_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Prefs* prefs= (Fl_Tree_Prefs*) DValue_CastCData( _p[1], dao_Fl_Tree_Prefs_Typer );
  Fl_Tree_Item* _find_clicked = self->Fl_Tree_Item::find_clicked( *prefs );
  DaoContext_WrapCData( _ctx, (void*) _find_clicked, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_find_clicked( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Prefs* prefs= (Fl_Tree_Prefs*) DValue_CastCData( _p[1], dao_Fl_Tree_Prefs_Typer );
  const Fl_Tree_Item* _find_clicked = self->Fl_Tree_Item::find_clicked( *prefs );
  DaoContext_WrapCData( _ctx, (void*) _find_clicked, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_find_item_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  char* arr_old = (char*)DValue_GetMBString( _p[1] );
  size_t arr_len = strlen( arr_old );
  char* arr = (char*) malloc( arr_len + 1 );
  void* arr_p = strncpy( arr, arr_old, arr_len );
  Fl_Tree_Item* _find_item = self->Fl_Tree_Item::find_item( & arr );
  DString_SetMBS( _p[1]->v.s, (char*) arr );
  free( arr );
  DaoContext_WrapCData( _ctx, (void*) _find_item, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_find_item( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  char* arr_old = (char*)DValue_GetMBString( _p[1] );
  size_t arr_len = strlen( arr_old );
  char* arr = (char*) malloc( arr_len + 1 );
  void* arr_p = strncpy( arr, arr_old, arr_len );
  const Fl_Tree_Item* _find_item = self->Fl_Tree_Item::find_item( & arr );
  DString_SetMBS( _p[1]->v.s, (char*) arr );
  free( arr );
  DaoContext_WrapCData( _ctx, (void*) _find_item, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_has_children( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int _has_children = self->Fl_Tree_Item::has_children(  );
  DaoContext_PutInteger( _ctx, (int) _has_children );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Prefs* prefs= (Fl_Tree_Prefs*) DValue_CastCData( _p[1], dao_Fl_Tree_Prefs_Typer );
  char* new_label= (char*) DValue_GetMBString( _p[2] );
  int pos= (int) _p[3]->v.i;
  Fl_Tree_Item* _insert = self->Fl_Tree_Item::insert( *prefs, new_label, pos );
  DaoContext_WrapCData( _ctx, (void*) _insert, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_insert_above( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Prefs* prefs= (Fl_Tree_Prefs*) DValue_CastCData( _p[1], dao_Fl_Tree_Prefs_Typer );
  char* new_label= (char*) DValue_GetMBString( _p[2] );
  Fl_Tree_Item* _insert_above = self->Fl_Tree_Item::insert_above( *prefs, new_label );
  DaoContext_WrapCData( _ctx, (void*) _insert_above, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_is_activated( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  char _is_activated = self->Fl_Tree_Item::is_activated(  );
  DaoContext_PutInteger( _ctx, (int) _is_activated );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_is_active( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  char _is_active = self->Fl_Tree_Item::is_active(  );
  DaoContext_PutInteger( _ctx, (int) _is_active );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_is_close( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int _is_close = self->Fl_Tree_Item::is_close(  );
  DaoContext_PutInteger( _ctx, (int) _is_close );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_is_open( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int _is_open = self->Fl_Tree_Item::is_open(  );
  DaoContext_PutInteger( _ctx, (int) _is_open );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_is_root( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int _is_root = self->Fl_Tree_Item::is_root(  );
  DaoContext_PutInteger( _ctx, (int) _is_root );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_is_selected( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  char _is_selected = self->Fl_Tree_Item::is_selected(  );
  DaoContext_PutInteger( _ctx, (int) _is_selected );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_label_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  const char* _label = self->Fl_Tree_Item::label(  );
  DaoContext_PutMBString( _ctx, (char*) _label );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_label( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  char* val= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Tree_Item::label( val );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_labelbgcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Color _labelbgcolor = self->Fl_Tree_Item::labelbgcolor(  );
  DaoContext_PutInteger( _ctx, (int) _labelbgcolor );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_labelbgcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Color val= (Fl_Color) _p[1]->v.i;
  self->Fl_Tree_Item::labelbgcolor( val );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_labelcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Color _labelcolor = self->Fl_Tree_Item::labelcolor(  );
  DaoContext_PutInteger( _ctx, (int) _labelcolor );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_labelcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Color val= (Fl_Color) _p[1]->v.i;
  self->Fl_Tree_Item::labelcolor( val );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_labelfgcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Color _labelfgcolor = self->Fl_Tree_Item::labelfgcolor(  );
  DaoContext_PutInteger( _ctx, (int) _labelfgcolor );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_labelfgcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Color val= (Fl_Color) _p[1]->v.i;
  self->Fl_Tree_Item::labelfgcolor( val );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_labelfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int _labelfont = self->Fl_Tree_Item::labelfont(  );
  DaoContext_PutInteger( _ctx, (int) _labelfont );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_labelfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Item::labelfont( val );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_labelsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int _labelsize = self->Fl_Tree_Item::labelsize(  );
  DaoContext_PutInteger( _ctx, (int) _labelsize );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_labelsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Item::labelsize( val );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_next( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Item* _next = self->Fl_Tree_Item::next(  );
  DaoContext_WrapCData( _ctx, (void*) _next, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_open( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree_Item::open(  );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_open_toggle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree_Item::open_toggle(  );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_parent( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Item* _parent = self->Fl_Tree_Item::parent(  );
  DaoContext_WrapCData( _ctx, (void*) _parent, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_parent_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  const Fl_Tree_Item* _parent = self->Fl_Tree_Item::parent(  );
  DaoContext_WrapCData( _ctx, (void*) _parent, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_parent_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Item* val= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree_Item::parent( val );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_prev( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Item* _prev = self->Fl_Tree_Item::prev(  );
  DaoContext_WrapCData( _ctx, (void*) _prev, dao_Fl_Tree_Item_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_remove_child( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  int _remove_child = self->Fl_Tree_Item::remove_child( item );
  DaoContext_PutInteger( _ctx, (int) _remove_child );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_remove_child_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  char* new_label= (char*) DValue_GetMBString( _p[1] );
  int _remove_child = self->Fl_Tree_Item::remove_child( new_label );
  DaoContext_PutInteger( _ctx, (int) _remove_child );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_select( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Item::select( val );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_select_all( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int _select_all = self->Fl_Tree_Item::select_all(  );
  DaoContext_PutInteger( _ctx, (int) _select_all );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_select_toggle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree_Item::select_toggle(  );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_show_self( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  char* indent= (char*) DValue_GetMBString( _p[1] );
  self->Fl_Tree_Item::show_self( indent );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_swap_children_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Item* a= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  Fl_Tree_Item* b= (Fl_Tree_Item*) DValue_CastCData( _p[2], dao_Fl_Tree_Item_Typer );
  int _swap_children = self->Fl_Tree_Item::swap_children( a, b );
  DaoContext_PutInteger( _ctx, (int) _swap_children );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_swap_children( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  int ax= (int) _p[1]->v.i;
  int bx= (int) _p[2]->v.i;
  self->Fl_Tree_Item::swap_children( ax, bx );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_user_data_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  void* _user_data = self->Fl_Tree_Item::user_data(  );
  DaoContext_PutCPointer( _ctx, (void*) _user_data, 0 );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_user_data( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  void* data= (void*) DValue_GetCData( _p[1] );
  self->Fl_Tree_Item::user_data( data );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_usericon_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Image* _usericon = self->Fl_Tree_Item::usericon(  );
  DaoContext_WrapCData( _ctx, (void*) _usericon, dao_Fl_Image_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_usericon( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Image* val= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Tree_Item::usericon( val );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_widget_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Widget* _widget = self->Fl_Tree_Item::widget(  );
  DaoContext_WrapCData( _ctx, (void*) _widget, dao_Fl_Widget_Typer );
}
/* Fl_Tree_Item.H */
static void dao_Fl_Tree_Item_widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item* self= (Fl_Tree_Item*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Typer );
  Fl_Widget* val= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Tree_Item::widget( val );
}

/*  Fl_Tree_Item_Array.H */


static DaoNumItem dao_Fl_Tree_Item_Array_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Tree_Item_Array_Fl_Tree_Item_Array_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_Array_Fl_Tree_Item_Array( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_Array_add( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_Array_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_Array_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_Array_remove_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_Array_remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_Array_swap( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Item_Array_total( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Tree_Item_Array_Meths[] = 
{
  { dao_Fl_Tree_Item_Array_Fl_Tree_Item_Array_dao_2, "Fl_Tree_Item_Array( o : Fl_Tree_Item_Array )=>Fl_Tree_Item_Array" },
  { dao_Fl_Tree_Item_Array_Fl_Tree_Item_Array, "Fl_Tree_Item_Array( new_chunksize : int = 10 )=>Fl_Tree_Item_Array" },
  { dao_Fl_Tree_Item_Array_add, "add( self : Fl_Tree_Item_Array, val : Fl_Tree_Item )" },
  { dao_Fl_Tree_Item_Array_clear, "clear( self : Fl_Tree_Item_Array )" },
  { dao_Fl_Tree_Item_Array_insert, "insert( self : Fl_Tree_Item_Array, pos : int, new_item : Fl_Tree_Item )" },
  { dao_Fl_Tree_Item_Array_remove_dao_2, "remove( self : Fl_Tree_Item_Array, item : Fl_Tree_Item )=>int" },
  { dao_Fl_Tree_Item_Array_remove, "remove( self : Fl_Tree_Item_Array, index : int )" },
  { dao_Fl_Tree_Item_Array_swap, "swap( self : Fl_Tree_Item_Array, ax : int, bx : int )" },
  { dao_Fl_Tree_Item_Array_total, "total( self : Fl_Tree_Item_Array )=>int" },
  { NULL, NULL }
};
static void Dao_Fl_Tree_Item_Array_Delete( void *self )
{
	delete (Fl_Tree_Item_Array*) self;
}

static DaoTypeBase Fl_Tree_Item_Array_Typer = 
{ "Fl_Tree_Item_Array", NULL, 
  dao_Fl_Tree_Item_Array_Nums,
  dao_Fl_Tree_Item_Array_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Tree_Item_Array_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Tree_Item_Array_Typer = & Fl_Tree_Item_Array_Typer;
/* Fl_Tree_Item_Array.H */
static void dao_Fl_Tree_Item_Array_Fl_Tree_Item_Array_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item_Array* o= (Fl_Tree_Item_Array*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Array_Typer );
	Fl_Tree_Item_Array *_self = Dao_Fl_Tree_Item_Array_New( o );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Tree_Item_Array_Typer );
}
/* Fl_Tree_Item_Array.H */
static void dao_Fl_Tree_Item_Array_Fl_Tree_Item_Array( DaoContext *_ctx, DValue *_p[], int _n )
{
  int new_chunksize= (int) _p[0]->v.i;
	Fl_Tree_Item_Array *_self = Dao_Fl_Tree_Item_Array_New( new_chunksize );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Tree_Item_Array_Typer );
}
/* Fl_Tree_Item_Array.H */
static void dao_Fl_Tree_Item_Array_add( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item_Array* self= (Fl_Tree_Item_Array*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Array_Typer );
  Fl_Tree_Item* val= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree_Item_Array::add( val );
}
/* Fl_Tree_Item_Array.H */
static void dao_Fl_Tree_Item_Array_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item_Array* self= (Fl_Tree_Item_Array*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Array_Typer );
  self->Fl_Tree_Item_Array::clear(  );
}
/* Fl_Tree_Item_Array.H */
static void dao_Fl_Tree_Item_Array_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item_Array* self= (Fl_Tree_Item_Array*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Array_Typer );
  int pos= (int) _p[1]->v.i;
  Fl_Tree_Item* new_item= (Fl_Tree_Item*) DValue_CastCData( _p[2], dao_Fl_Tree_Item_Typer );
  self->Fl_Tree_Item_Array::insert( pos, new_item );
}
/* Fl_Tree_Item_Array.H */
static void dao_Fl_Tree_Item_Array_remove_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item_Array* self= (Fl_Tree_Item_Array*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Array_Typer );
  Fl_Tree_Item* item= (Fl_Tree_Item*) DValue_CastCData( _p[1], dao_Fl_Tree_Item_Typer );
  int _remove = self->Fl_Tree_Item_Array::remove( item );
  DaoContext_PutInteger( _ctx, (int) _remove );
}
/* Fl_Tree_Item_Array.H */
static void dao_Fl_Tree_Item_Array_remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item_Array* self= (Fl_Tree_Item_Array*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Array_Typer );
  int index= (int) _p[1]->v.i;
  self->Fl_Tree_Item_Array::remove( index );
}
/* Fl_Tree_Item_Array.H */
static void dao_Fl_Tree_Item_Array_swap( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item_Array* self= (Fl_Tree_Item_Array*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Array_Typer );
  int ax= (int) _p[1]->v.i;
  int bx= (int) _p[2]->v.i;
  self->Fl_Tree_Item_Array::swap( ax, bx );
}
/* Fl_Tree_Item_Array.H */
static void dao_Fl_Tree_Item_Array_total( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Item_Array* self= (Fl_Tree_Item_Array*) DValue_CastCData( _p[0], dao_Fl_Tree_Item_Array_Typer );
  int _total = self->Fl_Tree_Item_Array::total(  );
  DaoContext_PutInteger( _ctx, (int) _total );
}

/*  Fl_Tree_Prefs.H */


static DaoNumItem dao_Fl_Tree_Prefs_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Tree_Prefs_Fl_Tree_Prefs( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_bgcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_bgcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_closeicon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_closeicon_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_connectorcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_connectorcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_connectorstyle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_connectorstyle_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_connectorstyle_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_connectorwidth( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_connectorwidth_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_fgcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_fgcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_inactivecolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_inactivecolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_labelfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_labelfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_labelmarginleft( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_labelmarginleft_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_labelsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_labelsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_linespacing( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_linespacing_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_marginleft( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_marginleft_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_margintop( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_margintop_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_openchild_marginbottom( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_openchild_marginbottom_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_openicon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_openicon_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_selectbox( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_selectbox_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_selectcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_selectcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_selectmode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_selectmode_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_showcollapse( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_showcollapse_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_showroot( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_showroot_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_sortorder( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_sortorder_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_usericon( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_usericon_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_usericonmarginleft( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Tree_Prefs_usericonmarginleft_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Tree_Prefs_Meths[] = 
{
  { dao_Fl_Tree_Prefs_Fl_Tree_Prefs, "Fl_Tree_Prefs(  )=>Fl_Tree_Prefs" },
  { dao_Fl_Tree_Prefs_bgcolor, "bgcolor( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_bgcolor_dao_2, "bgcolor( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_closeicon, "closeicon( self : Fl_Tree_Prefs )=>Fl_Image" },
  { dao_Fl_Tree_Prefs_closeicon_dao_2, "closeicon( self : Fl_Tree_Prefs, val : Fl_Image )" },
  { dao_Fl_Tree_Prefs_connectorcolor, "connectorcolor( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_connectorcolor_dao_2, "connectorcolor( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_connectorstyle, "connectorstyle( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_connectorstyle_dao_2, "connectorstyle( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_connectorstyle_dao_3, "connectorstyle( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_connectorwidth, "connectorwidth( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_connectorwidth_dao_2, "connectorwidth( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_fgcolor, "fgcolor( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_fgcolor_dao_2, "fgcolor( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_inactivecolor, "inactivecolor( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_inactivecolor_dao_2, "inactivecolor( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_labelfont, "labelfont( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_labelfont_dao_2, "labelfont( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_labelmarginleft, "labelmarginleft( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_labelmarginleft_dao_2, "labelmarginleft( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_labelsize, "labelsize( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_labelsize_dao_2, "labelsize( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_linespacing, "linespacing( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_linespacing_dao_2, "linespacing( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_marginleft, "marginleft( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_marginleft_dao_2, "marginleft( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_margintop, "margintop( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_margintop_dao_2, "margintop( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_openchild_marginbottom, "openchild_marginbottom( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_openchild_marginbottom_dao_2, "openchild_marginbottom( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_openicon, "openicon( self : Fl_Tree_Prefs )=>Fl_Image" },
  { dao_Fl_Tree_Prefs_openicon_dao_2, "openicon( self : Fl_Tree_Prefs, val : Fl_Image )" },
  { dao_Fl_Tree_Prefs_selectbox, "selectbox( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_selectbox_dao_2, "selectbox( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_selectcolor, "selectcolor( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_selectcolor_dao_2, "selectcolor( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_selectmode, "selectmode( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_selectmode_dao_2, "selectmode( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_showcollapse, "showcollapse( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_showcollapse_dao_2, "showcollapse( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_showroot, "showroot( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_showroot_dao_2, "showroot( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_sortorder, "sortorder( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_sortorder_dao_2, "sortorder( self : Fl_Tree_Prefs, val : int )" },
  { dao_Fl_Tree_Prefs_usericon, "usericon( self : Fl_Tree_Prefs )=>Fl_Image" },
  { dao_Fl_Tree_Prefs_usericon_dao_2, "usericon( self : Fl_Tree_Prefs, val : Fl_Image )" },
  { dao_Fl_Tree_Prefs_usericonmarginleft, "usericonmarginleft( self : Fl_Tree_Prefs )=>int" },
  { dao_Fl_Tree_Prefs_usericonmarginleft_dao_2, "usericonmarginleft( self : Fl_Tree_Prefs, val : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Tree_Prefs_Delete( void *self )
{
	delete (Fl_Tree_Prefs*) self;
}

static DaoTypeBase Fl_Tree_Prefs_Typer = 
{ "Fl_Tree_Prefs", NULL, 
  dao_Fl_Tree_Prefs_Nums,
  dao_Fl_Tree_Prefs_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Tree_Prefs_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Tree_Prefs_Typer = & Fl_Tree_Prefs_Typer;
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_Fl_Tree_Prefs( DaoContext *_ctx, DValue *_p[], int _n )
{
	Fl_Tree_Prefs *_self = Dao_Fl_Tree_Prefs_New(  );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Tree_Prefs_Typer );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_bgcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Color _bgcolor = self->Fl_Tree_Prefs::bgcolor(  );
  DaoContext_PutInteger( _ctx, (int) _bgcolor );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_bgcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Color val= (Fl_Color) _p[1]->v.i;
  self->Fl_Tree_Prefs::bgcolor( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_closeicon( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Image* _closeicon = self->Fl_Tree_Prefs::closeicon(  );
  DaoContext_WrapCData( _ctx, (void*) _closeicon, dao_Fl_Image_Typer );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_closeicon_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Image* val= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Tree_Prefs::closeicon( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_connectorcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Color _connectorcolor = self->Fl_Tree_Prefs::connectorcolor(  );
  DaoContext_PutInteger( _ctx, (int) _connectorcolor );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_connectorcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Color val= (Fl_Color) _p[1]->v.i;
  self->Fl_Tree_Prefs::connectorcolor( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_connectorstyle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Tree_Connector _connectorstyle = self->Fl_Tree_Prefs::connectorstyle(  );
  DaoContext_PutInteger( _ctx, (int) _connectorstyle );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_connectorstyle_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Tree_Connector val= (Fl_Tree_Connector) _p[1]->v.i;
  self->Fl_Tree_Prefs::connectorstyle( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_connectorstyle_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Prefs::connectorstyle( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_connectorwidth( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int _connectorwidth = self->Fl_Tree_Prefs::connectorwidth(  );
  DaoContext_PutInteger( _ctx, (int) _connectorwidth );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_connectorwidth_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Prefs::connectorwidth( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_fgcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Color _fgcolor = self->Fl_Tree_Prefs::fgcolor(  );
  DaoContext_PutInteger( _ctx, (int) _fgcolor );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_fgcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Color val= (Fl_Color) _p[1]->v.i;
  self->Fl_Tree_Prefs::fgcolor( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_inactivecolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Color _inactivecolor = self->Fl_Tree_Prefs::inactivecolor(  );
  DaoContext_PutInteger( _ctx, (int) _inactivecolor );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_inactivecolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Color val= (Fl_Color) _p[1]->v.i;
  self->Fl_Tree_Prefs::inactivecolor( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_labelfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int _labelfont = self->Fl_Tree_Prefs::labelfont(  );
  DaoContext_PutInteger( _ctx, (int) _labelfont );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_labelfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Prefs::labelfont( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_labelmarginleft( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int _labelmarginleft = self->Fl_Tree_Prefs::labelmarginleft(  );
  DaoContext_PutInteger( _ctx, (int) _labelmarginleft );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_labelmarginleft_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Prefs::labelmarginleft( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_labelsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int _labelsize = self->Fl_Tree_Prefs::labelsize(  );
  DaoContext_PutInteger( _ctx, (int) _labelsize );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_labelsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Prefs::labelsize( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_linespacing( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int _linespacing = self->Fl_Tree_Prefs::linespacing(  );
  DaoContext_PutInteger( _ctx, (int) _linespacing );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_linespacing_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Prefs::linespacing( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_marginleft( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int _marginleft = self->Fl_Tree_Prefs::marginleft(  );
  DaoContext_PutInteger( _ctx, (int) _marginleft );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_marginleft_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Prefs::marginleft( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_margintop( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int _margintop = self->Fl_Tree_Prefs::margintop(  );
  DaoContext_PutInteger( _ctx, (int) _margintop );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_margintop_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Prefs::margintop( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_openchild_marginbottom( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int _openchild_marginbottom = self->Fl_Tree_Prefs::openchild_marginbottom(  );
  DaoContext_PutInteger( _ctx, (int) _openchild_marginbottom );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_openchild_marginbottom_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Prefs::openchild_marginbottom( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_openicon( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Image* _openicon = self->Fl_Tree_Prefs::openicon(  );
  DaoContext_WrapCData( _ctx, (void*) _openicon, dao_Fl_Image_Typer );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_openicon_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Image* val= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Tree_Prefs::openicon( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_selectbox( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Boxtype _selectbox = self->Fl_Tree_Prefs::selectbox(  );
  DaoContext_PutInteger( _ctx, (int) _selectbox );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_selectbox_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Boxtype val= (Fl_Boxtype) _p[1]->v.i;
  self->Fl_Tree_Prefs::selectbox( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_selectcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Color _selectcolor = self->Fl_Tree_Prefs::selectcolor(  );
  DaoContext_PutInteger( _ctx, (int) _selectcolor );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_selectcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Color val= (Fl_Color) _p[1]->v.i;
  self->Fl_Tree_Prefs::selectcolor( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_selectmode( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Tree_Select _selectmode = self->Fl_Tree_Prefs::selectmode(  );
  DaoContext_PutInteger( _ctx, (int) _selectmode );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_selectmode_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Tree_Select val= (Fl_Tree_Select) _p[1]->v.i;
  self->Fl_Tree_Prefs::selectmode( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_showcollapse( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  char _showcollapse = self->Fl_Tree_Prefs::showcollapse(  );
  DaoContext_PutInteger( _ctx, (int) _showcollapse );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_showcollapse_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Prefs::showcollapse( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_showroot( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int _showroot = self->Fl_Tree_Prefs::showroot(  );
  DaoContext_PutInteger( _ctx, (int) _showroot );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_showroot_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Prefs::showroot( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_sortorder( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Tree_Sort _sortorder = self->Fl_Tree_Prefs::sortorder(  );
  DaoContext_PutInteger( _ctx, (int) _sortorder );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_sortorder_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Tree_Sort val= (Fl_Tree_Sort) _p[1]->v.i;
  self->Fl_Tree_Prefs::sortorder( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_usericon( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Image* _usericon = self->Fl_Tree_Prefs::usericon(  );
  DaoContext_WrapCData( _ctx, (void*) _usericon, dao_Fl_Image_Typer );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_usericon_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  Fl_Image* val= (Fl_Image*) DValue_CastCData( _p[1], dao_Fl_Image_Typer );
  self->Fl_Tree_Prefs::usericon( val );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_usericonmarginleft( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int _usericonmarginleft = self->Fl_Tree_Prefs::usericonmarginleft(  );
  DaoContext_PutInteger( _ctx, (int) _usericonmarginleft );
}
/* Fl_Tree_Prefs.H */
static void dao_Fl_Tree_Prefs_usericonmarginleft_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Tree_Prefs* self= (Fl_Tree_Prefs*) DValue_CastCData( _p[0], dao_Fl_Tree_Prefs_Typer );
  int val= (int) _p[1]->v.i;
  self->Fl_Tree_Prefs::usericonmarginleft( val );
}

/*  Fl_Tree.H */


static DaoNumItem dao_Fl_Tree_Select_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Tree_Select_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Tree_Select_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Tree_Select_Typer = 
{ "Fl_Tree_Select", NULL, 
  dao_Fl_Tree_Select_Nums,
  dao_Fl_Tree_Select_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Tree_Select_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Tree_Select_Typer = & Fl_Tree_Select_Typer;

/*  Fl_Tree.H */


static DaoNumItem dao_Fl_Tree_Sort_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Fl_Tree_Sort_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Fl_Tree_Sort_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Fl_Tree_Sort_Typer = 
{ "Fl_Tree_Sort", NULL, 
  dao_Fl_Tree_Sort_Nums,
  dao_Fl_Tree_Sort_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Tree_Sort_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Tree_Sort_Typer = & Fl_Tree_Sort_Typer;

/*  Fl_Value_Input.H */


static void dao_Fl_Value_Input_GETF_input( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_Fl_Value_Input_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Value_Input_Fl_Value_Input( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_cursor_color( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_cursor_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_resize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_shortcut( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_shortcut_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_soft_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_soft( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Input_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Value_Input_Meths[] = 
{
  { dao_Fl_Value_Input_GETF_input, ".input( self : Fl_Value_Input )=>Fl_Input" },
  { dao_Fl_Value_Input_Fl_Value_Input, "Fl_Value_Input( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Value_Input" },
  { dao_Fl_Value_Input_cursor_color, "cursor_color( self : Fl_Value_Input )=>int" },
  { dao_Fl_Value_Input_cursor_color_dao_2, "cursor_color( self : Fl_Value_Input, n : int )" },
  { dao_Fl_Value_Input_draw, "draw( self : Fl_Value_Input )" },
  { dao_Fl_Value_Input_handle, "handle( self : Fl_Value_Input, _cp0 : int )=>int" },
  { dao_Fl_Value_Input_resize, "resize( self : Fl_Value_Input, _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int )" },
  { dao_Fl_Value_Input_shortcut, "shortcut( self : Fl_Value_Input )=>int" },
  { dao_Fl_Value_Input_shortcut_dao_2, "shortcut( self : Fl_Value_Input, s : int )" },
  { dao_Fl_Value_Input_soft_dao_2, "soft( self : Fl_Value_Input )=>int" },
  { dao_Fl_Value_Input_soft, "soft( self : Fl_Value_Input, s : int )" },
  { dao_Fl_Value_Input_textcolor, "textcolor( self : Fl_Value_Input )=>int" },
  { dao_Fl_Value_Input_textcolor_dao_2, "textcolor( self : Fl_Value_Input, n : int )" },
  { dao_Fl_Value_Input_textfont, "textfont( self : Fl_Value_Input )=>int" },
  { dao_Fl_Value_Input_textfont_dao_2, "textfont( self : Fl_Value_Input, s : int )" },
  { dao_Fl_Value_Input_textsize, "textsize( self : Fl_Value_Input )=>int" },
  { dao_Fl_Value_Input_textsize_dao_2, "textsize( self : Fl_Value_Input, s : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Value_Input_Delete( void *self )
{
	delete (Fl_Value_Input*) self;
}
void* dao_cast_Fl_Value_Input_to_Fl_Valuator( void *data )
{
	return (Fl_Valuator*)(Fl_Value_Input*)data;
}

static DaoTypeBase Fl_Value_Input_Typer = 
{ "Fl_Value_Input", NULL, 
  dao_Fl_Value_Input_Nums,
  dao_Fl_Value_Input_Meths, 
  { dao_Fl_Valuator_Typer, 0 },
  { dao_cast_Fl_Value_Input_to_Fl_Valuator,0 },
  Dao_Fl_Value_Input_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Value_Input_Typer = & Fl_Value_Input_Typer;
static void dao_Fl_Value_Input_GETF_input( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input *self = (Fl_Value_Input*)DValue_CastCData(_p[0],dao_Fl_Value_Input_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->input, dao_Fl_Input_Typer );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_Fl_Value_Input( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Value_Input *_self = DaoCxx_Fl_Value_Input_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_cursor_color( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  Fl_Color _cursor_color = self->Fl_Value_Input::cursor_color(  );
  DaoContext_PutInteger( _ctx, (int) _cursor_color );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_cursor_color_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  Fl_Color n= (Fl_Color) _p[1]->v.i;
  self->Fl_Value_Input::cursor_color( n );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Value_Input *self = (DaoCxx_Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Value_Input::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_resize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _cp1= (int) _p[2]->v.i;
  int _cp2= (int) _p[3]->v.i;
  int _cp3= (int) _p[4]->v.i;
  self->Fl_Value_Input::resize( _cp0, _cp1, _cp2, _cp3 );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_shortcut( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  int _shortcut = self->Fl_Value_Input::shortcut(  );
  DaoContext_PutInteger( _ctx, (int) _shortcut );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_shortcut_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  int s= (int) _p[1]->v.i;
  self->Fl_Value_Input::shortcut( s );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_soft_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  char _soft = self->Fl_Value_Input::soft(  );
  DaoContext_PutInteger( _ctx, (int) _soft );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_soft( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  char s= (char) _p[1]->v.i;
  self->Fl_Value_Input::soft( s );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  Fl_Color _textcolor = self->Fl_Value_Input::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  Fl_Color n= (Fl_Color) _p[1]->v.i;
  self->Fl_Value_Input::textcolor( n );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  Fl_Font _textfont = self->Fl_Value_Input::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  Fl_Font s= (Fl_Font) _p[1]->v.i;
  self->Fl_Value_Input::textfont( s );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  Fl_Fontsize _textsize = self->Fl_Value_Input::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Value_Input.H */
static void dao_Fl_Value_Input_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Input* self= (Fl_Value_Input*) DValue_CastCData( _p[0], dao_Fl_Value_Input_Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Value_Input::textsize( s );
}

/*  Fl_Value_Output.H */


static DaoNumItem dao_Fl_Value_Output_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Value_Output_Fl_Value_Output( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Output_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Output_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Output_soft_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Output_soft( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Output_textcolor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Output_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Output_textfont( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Output_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Output_textsize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Value_Output_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Value_Output_Meths[] = 
{
  { dao_Fl_Value_Output_Fl_Value_Output, "Fl_Value_Output( x : int, y : int, w : int, h : int, l : string|null=null )=>Fl_Value_Output" },
  { dao_Fl_Value_Output_draw, "draw( self : Fl_Value_Output )" },
  { dao_Fl_Value_Output_handle, "handle( self : Fl_Value_Output, _cp0 : int )=>int" },
  { dao_Fl_Value_Output_soft_dao_2, "soft( self : Fl_Value_Output )=>int" },
  { dao_Fl_Value_Output_soft, "soft( self : Fl_Value_Output, s : int )" },
  { dao_Fl_Value_Output_textcolor, "textcolor( self : Fl_Value_Output )=>int" },
  { dao_Fl_Value_Output_textcolor_dao_2, "textcolor( self : Fl_Value_Output, s : int )" },
  { dao_Fl_Value_Output_textfont, "textfont( self : Fl_Value_Output )=>int" },
  { dao_Fl_Value_Output_textfont_dao_2, "textfont( self : Fl_Value_Output, s : int )" },
  { dao_Fl_Value_Output_textsize, "textsize( self : Fl_Value_Output )=>int" },
  { dao_Fl_Value_Output_textsize_dao_2, "textsize( self : Fl_Value_Output, s : int )" },
  { NULL, NULL }
};
static void Dao_Fl_Value_Output_Delete( void *self )
{
	delete (Fl_Value_Output*) self;
}
void* dao_cast_Fl_Value_Output_to_Fl_Valuator( void *data )
{
	return (Fl_Valuator*)(Fl_Value_Output*)data;
}

static DaoTypeBase Fl_Value_Output_Typer = 
{ "Fl_Value_Output", NULL, 
  dao_Fl_Value_Output_Nums,
  dao_Fl_Value_Output_Meths, 
  { dao_Fl_Valuator_Typer, 0 },
  { dao_cast_Fl_Value_Output_to_Fl_Valuator,0 },
  Dao_Fl_Value_Output_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Value_Output_Typer = & Fl_Value_Output_Typer;
/* Fl_Value_Output.H */
static void dao_Fl_Value_Output_Fl_Value_Output( DaoContext *_ctx, DValue *_p[], int _n )
{
  int x= (int) _p[0]->v.i;
  int y= (int) _p[1]->v.i;
  int w= (int) _p[2]->v.i;
  int h= (int) _p[3]->v.i;
  char* l= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Value_Output *_self = DaoCxx_Fl_Value_Output_New( x, y, w, h, l );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Value_Output.H */
static void dao_Fl_Value_Output_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Fl_Value_Output *self = (DaoCxx_Fl_Value_Output*) DValue_CastCData( _p[0], dao_Fl_Value_Output_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Value_Output.H */
static void dao_Fl_Value_Output_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Output* self= (Fl_Value_Output*) DValue_CastCData( _p[0], dao_Fl_Value_Output_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Fl_Value_Output::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Value_Output.H */
static void dao_Fl_Value_Output_soft_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Output* self= (Fl_Value_Output*) DValue_CastCData( _p[0], dao_Fl_Value_Output_Typer );
  uchar _soft = self->Fl_Value_Output::soft(  );
  DaoContext_PutInteger( _ctx, (int) _soft );
}
/* Fl_Value_Output.H */
static void dao_Fl_Value_Output_soft( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Output* self= (Fl_Value_Output*) DValue_CastCData( _p[0], dao_Fl_Value_Output_Typer );
  uchar s= (uchar) _p[1]->v.i;
  self->Fl_Value_Output::soft( s );
}
/* Fl_Value_Output.H */
static void dao_Fl_Value_Output_textcolor( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Output* self= (Fl_Value_Output*) DValue_CastCData( _p[0], dao_Fl_Value_Output_Typer );
  Fl_Color _textcolor = self->Fl_Value_Output::textcolor(  );
  DaoContext_PutInteger( _ctx, (int) _textcolor );
}
/* Fl_Value_Output.H */
static void dao_Fl_Value_Output_textcolor_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Output* self= (Fl_Value_Output*) DValue_CastCData( _p[0], dao_Fl_Value_Output_Typer );
  Fl_Color s= (Fl_Color) _p[1]->v.i;
  self->Fl_Value_Output::textcolor( s );
}
/* Fl_Value_Output.H */
static void dao_Fl_Value_Output_textfont( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Output* self= (Fl_Value_Output*) DValue_CastCData( _p[0], dao_Fl_Value_Output_Typer );
  Fl_Font _textfont = self->Fl_Value_Output::textfont(  );
  DaoContext_PutInteger( _ctx, (int) _textfont );
}
/* Fl_Value_Output.H */
static void dao_Fl_Value_Output_textfont_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Output* self= (Fl_Value_Output*) DValue_CastCData( _p[0], dao_Fl_Value_Output_Typer );
  Fl_Font s= (Fl_Font) _p[1]->v.i;
  self->Fl_Value_Output::textfont( s );
}
/* Fl_Value_Output.H */
static void dao_Fl_Value_Output_textsize( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Output* self= (Fl_Value_Output*) DValue_CastCData( _p[0], dao_Fl_Value_Output_Typer );
  Fl_Fontsize _textsize = self->Fl_Value_Output::textsize(  );
  DaoContext_PutInteger( _ctx, (int) _textsize );
}
/* Fl_Value_Output.H */
static void dao_Fl_Value_Output_textsize_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Value_Output* self= (Fl_Value_Output*) DValue_CastCData( _p[0], dao_Fl_Value_Output_Typer );
  Fl_Fontsize s= (Fl_Fontsize) _p[1]->v.i;
  self->Fl_Value_Output::textsize( s );
}

/*  Fl.H */


static DaoNumItem dao_Fl_Widget_Tracker_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Widget_Tracker_Fl_Widget_Tracker( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_Tracker_deleted( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_Tracker_exists( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Widget_Tracker_widget( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Widget_Tracker_Meths[] = 
{
  { dao_Fl_Widget_Tracker_Fl_Widget_Tracker, "Fl_Widget_Tracker( wi : Fl_Widget )=>Fl_Widget_Tracker" },
  { dao_Fl_Widget_Tracker_deleted, "deleted( self : Fl_Widget_Tracker )=>int" },
  { dao_Fl_Widget_Tracker_exists, "exists( self : Fl_Widget_Tracker )=>int" },
  { dao_Fl_Widget_Tracker_widget, "widget( self : Fl_Widget_Tracker )=>Fl_Widget" },
  { NULL, NULL }
};
static void Dao_Fl_Widget_Tracker_Delete( void *self )
{
	delete (Fl_Widget_Tracker*) self;
}

static DaoTypeBase Fl_Widget_Tracker_Typer = 
{ "Fl_Widget_Tracker", NULL, 
  dao_Fl_Widget_Tracker_Nums,
  dao_Fl_Widget_Tracker_Meths, 
  { 0 },
  { 0 },
  Dao_Fl_Widget_Tracker_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Widget_Tracker_Typer = & Fl_Widget_Tracker_Typer;
/* Fl.H */
static void dao_Fl_Widget_Tracker_Fl_Widget_Tracker( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget* wi= (Fl_Widget*) DValue_CastCData( _p[0], dao_Fl_Widget_Typer );
	Fl_Widget_Tracker *_self = Dao_Fl_Widget_Tracker_New( wi );
	DaoContext_PutCData( _ctx, _self, dao_Fl_Widget_Tracker_Typer );
}
/* Fl.H */
static void dao_Fl_Widget_Tracker_deleted( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget_Tracker* self= (Fl_Widget_Tracker*) DValue_CastCData( _p[0], dao_Fl_Widget_Tracker_Typer );
  int _deleted = self->Fl_Widget_Tracker::deleted(  );
  DaoContext_PutInteger( _ctx, (int) _deleted );
}
/* Fl.H */
static void dao_Fl_Widget_Tracker_exists( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget_Tracker* self= (Fl_Widget_Tracker*) DValue_CastCData( _p[0], dao_Fl_Widget_Tracker_Typer );
  int _exists = self->Fl_Widget_Tracker::exists(  );
  DaoContext_PutInteger( _ctx, (int) _exists );
}
/* Fl.H */
static void dao_Fl_Widget_Tracker_widget( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Widget_Tracker* self= (Fl_Widget_Tracker*) DValue_CastCData( _p[0], dao_Fl_Widget_Tracker_Typer );
  Fl_Widget* _widget = self->Fl_Widget_Tracker::widget(  );
  DaoContext_WrapCData( _ctx, (void*) _widget, dao_Fl_Widget_Typer );
}

/*  Fl_Wizard.H */


static DaoNumItem dao_Fl_Wizard_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_Wizard_Fl_Wizard( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Wizard_next( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Wizard_prev( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Wizard_value( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Fl_Wizard_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_Wizard_Meths[] = 
{
  { dao_Fl_Wizard_Fl_Wizard, "Fl_Wizard( _cp0 : int, _cp1 : int, _cp2 : int, _cp3 : int, _cp4 : string|null=null )=>Fl_Wizard" },
  { dao_Fl_Wizard_next, "next( self : Fl_Wizard )" },
  { dao_Fl_Wizard_prev, "prev( self : Fl_Wizard )" },
  { dao_Fl_Wizard_value, "value( self : Fl_Wizard )=>Fl_Widget" },
  { dao_Fl_Wizard_value_dao_2, "value( self : Fl_Wizard, _cp0 : Fl_Widget )" },
  { NULL, NULL }
};
static void Dao_Fl_Wizard_Delete( void *self )
{
	delete (Fl_Wizard*) self;
}
void* dao_cast_Fl_Wizard_to_Fl_Group( void *data )
{
	return (Fl_Group*)(Fl_Wizard*)data;
}

static DaoTypeBase Fl_Wizard_Typer = 
{ "Fl_Wizard", NULL, 
  dao_Fl_Wizard_Nums,
  dao_Fl_Wizard_Meths, 
  { dao_Fl_Group_Typer, 0 },
  { dao_cast_Fl_Wizard_to_Fl_Group,0 },
  Dao_Fl_Wizard_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_Wizard_Typer = & Fl_Wizard_Typer;
/* Fl_Wizard.H */
static void dao_Fl_Wizard_Fl_Wizard( DaoContext *_ctx, DValue *_p[], int _n )
{
  int _cp0= (int) _p[0]->v.i;
  int _cp1= (int) _p[1]->v.i;
  int _cp2= (int) _p[2]->v.i;
  int _cp3= (int) _p[3]->v.i;
  char* _cp4= (char*) DValue_GetMBString( _p[4] );
	DaoCxx_Fl_Wizard *_self = DaoCxx_Fl_Wizard_New( _cp0, _cp1, _cp2, _cp3, _cp4 );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Wizard.H */
static void dao_Fl_Wizard_next( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Wizard* self= (Fl_Wizard*) DValue_CastCData( _p[0], dao_Fl_Wizard_Typer );
  self->Fl_Wizard::next(  );
}
/* Fl_Wizard.H */
static void dao_Fl_Wizard_prev( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Wizard* self= (Fl_Wizard*) DValue_CastCData( _p[0], dao_Fl_Wizard_Typer );
  self->Fl_Wizard::prev(  );
}
/* Fl_Wizard.H */
static void dao_Fl_Wizard_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Wizard* self= (Fl_Wizard*) DValue_CastCData( _p[0], dao_Fl_Wizard_Typer );
  Fl_Widget* _value = self->Fl_Wizard::value(  );
  DaoContext_WrapCData( _ctx, (void*) _value, dao_Fl_Widget_Typer );
}
/* Fl_Wizard.H */
static void dao_Fl_Wizard_value_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  Fl_Wizard* self= (Fl_Wizard*) DValue_CastCData( _p[0], dao_Fl_Wizard_Typer );
  Fl_Widget* _cp0= (Fl_Widget*) DValue_CastCData( _p[1], dao_Fl_Widget_Typer );
  self->Fl_Wizard::value( _cp0 );
}

/*  Fl_XBM_Image.H */


static DaoNumItem dao_Fl_XBM_Image_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_XBM_Image_Fl_XBM_Image( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_XBM_Image_Meths[] = 
{
  { dao_Fl_XBM_Image_Fl_XBM_Image, "Fl_XBM_Image( filename : string )=>Fl_XBM_Image" },
  { NULL, NULL }
};
static void Dao_Fl_XBM_Image_Delete( void *self )
{
	delete (Fl_XBM_Image*) self;
}
void* dao_cast_Fl_XBM_Image_to_Fl_Bitmap( void *data )
{
	return (Fl_Bitmap*)(Fl_XBM_Image*)data;
}

static DaoTypeBase Fl_XBM_Image_Typer = 
{ "Fl_XBM_Image", NULL, 
  dao_Fl_XBM_Image_Nums,
  dao_Fl_XBM_Image_Meths, 
  { dao_Fl_Bitmap_Typer, 0 },
  { dao_cast_Fl_XBM_Image_to_Fl_Bitmap,0 },
  Dao_Fl_XBM_Image_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_XBM_Image_Typer = & Fl_XBM_Image_Typer;
/* Fl_XBM_Image.H */
static void dao_Fl_XBM_Image_Fl_XBM_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* filename= (char*) DValue_GetMBString( _p[0] );
	DaoCxx_Fl_XBM_Image *_self = DaoCxx_Fl_XBM_Image_New( filename );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  Fl_XPM_Image.H */


static DaoNumItem dao_Fl_XPM_Image_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Fl_XPM_Image_Fl_XPM_Image( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Fl_XPM_Image_Meths[] = 
{
  { dao_Fl_XPM_Image_Fl_XPM_Image, "Fl_XPM_Image( filename : string )=>Fl_XPM_Image" },
  { NULL, NULL }
};
static void Dao_Fl_XPM_Image_Delete( void *self )
{
	delete (Fl_XPM_Image*) self;
}
void* dao_cast_Fl_XPM_Image_to_Fl_Pixmap( void *data )
{
	return (Fl_Pixmap*)(Fl_XPM_Image*)data;
}

static DaoTypeBase Fl_XPM_Image_Typer = 
{ "Fl_XPM_Image", NULL, 
  dao_Fl_XPM_Image_Nums,
  dao_Fl_XPM_Image_Meths, 
  { dao_Fl_Pixmap_Typer, 0 },
  { dao_cast_Fl_XPM_Image_to_Fl_Pixmap,0 },
  Dao_Fl_XPM_Image_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Fl_XPM_Image_Typer = & Fl_XPM_Image_Typer;
/* Fl_XPM_Image.H */
static void dao_Fl_XPM_Image_Fl_XPM_Image( DaoContext *_ctx, DValue *_p[], int _n )
{
  char* filename= (char*) DValue_GetMBString( _p[0] );
	Fl_XPM_Image *_self = Dao_Fl_XPM_Image_New( filename );
	DaoContext_PutCData( _ctx, _self, dao_Fl_XPM_Image_Typer );
}

/*  Fl_Color_Chooser.H */


static DaoNumItem dao_Flcc_HueBox_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Flcc_HueBox_Flcc_HueBox( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Flcc_HueBox_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Flcc_HueBox_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Flcc_HueBox_handle_key( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Flcc_HueBox_Meths[] = 
{
  { dao_Flcc_HueBox_Flcc_HueBox, "Flcc_HueBox( X : int, Y : int, W : int, H : int )=>Flcc_HueBox" },
  { dao_Flcc_HueBox_draw, "draw( self : Flcc_HueBox )" },
  { dao_Flcc_HueBox_handle, "handle( self : Flcc_HueBox, _cp0 : int )=>int" },
  { dao_Flcc_HueBox_handle_key, "handle_key( self : Flcc_HueBox, _cp0 : int )=>int" },
  { NULL, NULL }
};
static void Dao_Flcc_HueBox_Delete( void *self )
{
	delete (Flcc_HueBox*) self;
}
void* dao_cast_Flcc_HueBox_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Flcc_HueBox*)data;
}

static DaoTypeBase Flcc_HueBox_Typer = 
{ "Flcc_HueBox", NULL, 
  dao_Flcc_HueBox_Nums,
  dao_Flcc_HueBox_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Flcc_HueBox_to_Fl_Widget,0 },
  Dao_Flcc_HueBox_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Flcc_HueBox_Typer = & Flcc_HueBox_Typer;
/* Fl_Color_Chooser.H */
static void dao_Flcc_HueBox_Flcc_HueBox( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
	DaoCxx_Flcc_HueBox *_self = DaoCxx_Flcc_HueBox_New( X, Y, W, H );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Color_Chooser.H */
static void dao_Flcc_HueBox_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Flcc_HueBox *self = (DaoCxx_Flcc_HueBox*) DValue_CastCData( _p[0], dao_Flcc_HueBox_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Color_Chooser.H */
static void dao_Flcc_HueBox_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Flcc_HueBox* self= (Flcc_HueBox*) DValue_CastCData( _p[0], dao_Flcc_HueBox_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Flcc_HueBox::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Color_Chooser.H */
static void dao_Flcc_HueBox_handle_key( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Flcc_HueBox *self = (DaoCxx_Flcc_HueBox*) DValue_CastCData( _p[0], dao_Flcc_HueBox_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle_key = self->DaoWrap_handle_key( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle_key );
}

/*  Fl_Color_Chooser.H */


static DaoNumItem dao_Flcc_ValueBox_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Flcc_ValueBox_Flcc_ValueBox( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Flcc_ValueBox_draw( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Flcc_ValueBox_handle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Flcc_ValueBox_handle_key( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Flcc_ValueBox_Meths[] = 
{
  { dao_Flcc_ValueBox_Flcc_ValueBox, "Flcc_ValueBox( X : int, Y : int, W : int, H : int )=>Flcc_ValueBox" },
  { dao_Flcc_ValueBox_draw, "draw( self : Flcc_ValueBox )" },
  { dao_Flcc_ValueBox_handle, "handle( self : Flcc_ValueBox, _cp0 : int )=>int" },
  { dao_Flcc_ValueBox_handle_key, "handle_key( self : Flcc_ValueBox, _cp0 : int )=>int" },
  { NULL, NULL }
};
static void Dao_Flcc_ValueBox_Delete( void *self )
{
	delete (Flcc_ValueBox*) self;
}
void* dao_cast_Flcc_ValueBox_to_Fl_Widget( void *data )
{
	return (Fl_Widget*)(Flcc_ValueBox*)data;
}

static DaoTypeBase Flcc_ValueBox_Typer = 
{ "Flcc_ValueBox", NULL, 
  dao_Flcc_ValueBox_Nums,
  dao_Flcc_ValueBox_Meths, 
  { dao_Fl_Widget_Typer, 0 },
  { dao_cast_Flcc_ValueBox_to_Fl_Widget,0 },
  Dao_Flcc_ValueBox_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Flcc_ValueBox_Typer = & Flcc_ValueBox_Typer;
/* Fl_Color_Chooser.H */
static void dao_Flcc_ValueBox_Flcc_ValueBox( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
	DaoCxx_Flcc_ValueBox *_self = DaoCxx_Flcc_ValueBox_New( X, Y, W, H );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Color_Chooser.H */
static void dao_Flcc_ValueBox_draw( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Flcc_ValueBox *self = (DaoCxx_Flcc_ValueBox*) DValue_CastCData( _p[0], dao_Flcc_ValueBox_Typer );
  self->DaoWrap_draw(  );
}
/* Fl_Color_Chooser.H */
static void dao_Flcc_ValueBox_handle( DaoContext *_ctx, DValue *_p[], int _n )
{
  Flcc_ValueBox* self= (Flcc_ValueBox*) DValue_CastCData( _p[0], dao_Flcc_ValueBox_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle = self->Flcc_ValueBox::handle( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle );
}
/* Fl_Color_Chooser.H */
static void dao_Flcc_ValueBox_handle_key( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_Flcc_ValueBox *self = (DaoCxx_Flcc_ValueBox*) DValue_CastCData( _p[0], dao_Flcc_ValueBox_Typer );
  int _cp0= (int) _p[1]->v.i;
  int _handle_key = self->DaoWrap_handle_key( _cp0 );
  DaoContext_PutInteger( _ctx, (int) _handle_key );
}

/*  Fl_Color_Chooser.H */


static DaoNumItem dao_Flcc_Value_Input_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_Flcc_Value_Input_Flcc_Value_Input( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_Flcc_Value_Input_format( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_Flcc_Value_Input_Meths[] = 
{
  { dao_Flcc_Value_Input_Flcc_Value_Input, "Flcc_Value_Input( X : int, Y : int, W : int, H : int )=>Flcc_Value_Input" },
  { dao_Flcc_Value_Input_format, "format( self : Flcc_Value_Input, _cp0 : string )=>int" },
  { NULL, NULL }
};
static void Dao_Flcc_Value_Input_Delete( void *self )
{
	delete (Flcc_Value_Input*) self;
}
void* dao_cast_Flcc_Value_Input_to_Fl_Value_Input( void *data )
{
	return (Fl_Value_Input*)(Flcc_Value_Input*)data;
}

static DaoTypeBase Flcc_Value_Input_Typer = 
{ "Flcc_Value_Input", NULL, 
  dao_Flcc_Value_Input_Nums,
  dao_Flcc_Value_Input_Meths, 
  { dao_Fl_Value_Input_Typer, 0 },
  { dao_cast_Flcc_Value_Input_to_Fl_Value_Input,0 },
  Dao_Flcc_Value_Input_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Flcc_Value_Input_Typer = & Flcc_Value_Input_Typer;
/* Fl_Color_Chooser.H */
static void dao_Flcc_Value_Input_Flcc_Value_Input( DaoContext *_ctx, DValue *_p[], int _n )
{
  int X= (int) _p[0]->v.i;
  int Y= (int) _p[1]->v.i;
  int W= (int) _p[2]->v.i;
  int H= (int) _p[3]->v.i;
	DaoCxx_Flcc_Value_Input *_self = DaoCxx_Flcc_Value_Input_New( X, Y, W, H );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* Fl_Color_Chooser.H */
static void dao_Flcc_Value_Input_format( DaoContext *_ctx, DValue *_p[], int _n )
{
  Flcc_Value_Input* self= (Flcc_Value_Input*) DValue_CastCData( _p[0], dao_Flcc_Value_Input_Typer );
  char* _cp0= (char*) DValue_GetMBString( _p[1] );
  int _format = self->Flcc_Value_Input::format( _cp0 );
  DString_SetMBS( _p[1]->v.s, (char*) _cp0 );
  DaoContext_PutInteger( _ctx, (int) _format );
}

/*  glut.H */


static DaoNumItem dao_GLdouble_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_GLdouble_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_GLdouble_Delete( void *self )
{
	free( self );
}

static DaoTypeBase GLdouble_Typer = 
{ "GLdouble", NULL, 
  dao_GLdouble_Nums,
  dao_GLdouble_Meths, 
  { 0 },
  { 0 },
  Dao_GLdouble_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_GLdouble_Typer = & GLdouble_Typer;

/*  glut.H */


static DaoNumItem dao_GLenum_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_GLenum_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_GLenum_Delete( void *self )
{
	free( self );
}

static DaoTypeBase GLenum_Typer = 
{ "GLenum", NULL, 
  dao_GLenum_Nums,
  dao_GLenum_Meths, 
  { 0 },
  { 0 },
  Dao_GLenum_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_GLenum_Typer = & GLenum_Typer;

/*  glut.H */


static DaoNumItem dao_GLfloat_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_GLfloat_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_GLfloat_Delete( void *self )
{
	free( self );
}

static DaoTypeBase GLfloat_Typer = 
{ "GLfloat", NULL, 
  dao_GLfloat_Nums,
  dao_GLfloat_Meths, 
  { 0 },
  { 0 },
  Dao_GLfloat_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_GLfloat_Typer = & GLfloat_Typer;

/*  glut.H */


static DaoNumItem dao_GLint_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_GLint_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_GLint_Delete( void *self )
{
	free( self );
}

static DaoTypeBase GLint_Typer = 
{ "GLint", NULL, 
  dao_GLint_Nums,
  dao_GLint_Meths, 
  { 0 },
  { 0 },
  Dao_GLint_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_GLint_Typer = & GLint_Typer;

/*  gl2opengl.h */


static DaoNumItem dao_Matrix_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Matrix_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Matrix_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Matrix_Typer = 
{ "Matrix", NULL, 
  dao_Matrix_Nums,
  dao_Matrix_Meths, 
  { 0 },
  { 0 },
  Dao_Matrix_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Matrix_Typer = & Matrix_Typer;

/*  Fl_Table.H */


static DaoNumItem dao_ResizeFlag_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_ResizeFlag_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_ResizeFlag_Delete( void *self )
{
	free( self );
}

static DaoTypeBase ResizeFlag_Typer = 
{ "ResizeFlag", NULL, 
  dao_ResizeFlag_Nums,
  dao_ResizeFlag_Meths, 
  { 0 },
  { 0 },
  Dao_ResizeFlag_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_ResizeFlag_Typer = & ResizeFlag_Typer;

/*  Fl_Preferences.H */


static DaoNumItem dao_Root_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Root_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Root_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Root_Typer = 
{ "Root", NULL, 
  dao_Root_Nums,
  dao_Root_Meths, 
  { 0 },
  { 0 },
  Dao_Root_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_Root_Typer = & Root_Typer;

/*  Fl_Table.H */


static DaoNumItem dao_TableContext_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_TableContext_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_TableContext_Delete( void *self )
{
	free( self );
}

static DaoTypeBase TableContext_Typer = 
{ "TableContext", NULL, 
  dao_TableContext_Nums,
  dao_TableContext_Meths, 
  { 0 },
  { 0 },
  Dao_TableContext_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_TableContext_Typer = & TableContext_Typer;

/*  Fl_Table_Row.H */


static DaoNumItem dao_TableRowSelectMode_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_TableRowSelectMode_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_TableRowSelectMode_Delete( void *self )
{
	free( self );
}

static DaoTypeBase TableRowSelectMode_Typer = 
{ "TableRowSelectMode", NULL, 
  dao_TableRowSelectMode_Nums,
  dao_TableRowSelectMode_Meths, 
  { 0 },
  { 0 },
  Dao_TableRowSelectMode_Delete,
  NULL
};
DaoTypeBase DAO_DLL_FLTK *dao_TableRowSelectMode_Typer = & TableRowSelectMode_Typer;

#ifdef __cplusplus
}
#endif

DaoTypeBase *dao_FL_FORM_Typer = & Fl_Window_Typer;
DaoTypeBase *dao_FL_OBJECT_Typer = & Fl_Widget_Typer;
DaoTypeBase *dao_Fl_Menu_Typer = & Fl_Menu_Item_Typer;
